XSLT Tutorial Home

Welcome to the XSLT tutorial home. From here you will be able to access all tutorials & learning material, examples, resources, tools and references related to XSLT transformations. At the end of this tutorial you should:

  • Understand what XSLT is
  • Specify your own XSL template to transform an XML source to a desired target
  • Use XPATH to build more complex XSL templates
  • Perform simple to moderate calculations and processing using XSLT
  • Understand the significance of all the XML technologies to data interchange
  • Use XSLT in programming tasks related to XML transformations.

XSLT Prerequisites

Understand XML. Refer to the XML Tutorial for a crash course or quick review.
Understand XPATH. Refer to the XPATH Tutorial for a crash course or quick review.

Latest Additions

  • How to use conditional statements in XSL - XSL provides support for conditional patterns, statements and values – much the same as any other programming language. The appropriate application of the available XSL functions allows you to implement each pattern.
  • How to output CDATA with XSL - A CDATA element can be used to present formatted data or an XML document on its own.  The problem is that the XSLT processor will normally strip any leading and trailing whitespace, as well as carriage returns from an output XML document – unless instructed otherwise…
  • What is XSLT? - Wikipedia defines XSLT as follows: XSLT (Extensible Stylesheet Language Transformations) is a language for transforming XML documents into other XML documents, or other formats such as HTML for web pages, plain text or into XSL Formatting Objects, which may subsequently be converted to other formats, such as PDF PostScript and PNG.