XSLT (Extensible Stylesheet Language Transformations)
Description
XSLT is an XML-based language for transforming XML documents. It supports four standard output formats: XML, XHTML, HTML and plain text.
Common uses for XSLT include:
- ensuring that the pages within a web site follow a consistent style,
- transforming documents written using DocBook into HTML or PDF format, and
- transforming XML documents from one schema to another.
Popular tools for applying XSLT stylesheets include xsltproc, Xalan and Saxon.
microHOWTOs
- Create a list of numbered footnotes using XSLT
- Create a table of contents using XSLT
- Generate an HTML 5 DOCTYPE using XSLT
- Generate multiple output documents using XSLT
- Group XML elements by key using XSLT
- Prevent unwanted namespace prefix declarations from being added by an XSLT stylesheet
- Process an XML document using an XSLT stylesheet
- Process an XML document using an XSLT stylesheet in Java
- Refer to the value of a stylesheet parameter in XSLT
Troubleshooting guides
See also
Further reading
- XSL Transformations (XSLT), Version 1.0, W3C, November 1999
- XSL Transformations (XSLT), Version 2.0, W3C, January 2007
- The XSLT C library for GNOME (official website for xsltproc and libxslt)
- The Apache Xalan Project (official website)
- The SAXON XSLT and XQuery Processor (official website)