Extensible stylesheet language
Extensible Stylesheet Language (XSL) is a language which allows one to describe how files encoded in the XML standard are to be formatted. The language has two parts
- XSL Transformations (XSLT): a language for transforming XML documents
- XSL Formatting Objects (XSL-FO): to describe additional formatting
There are currently many XSLT implementations available; recent versions of both Internet Explorer
(hence Netscape Navigator
) support transformation of XML to HTML through XSLT.
XSL formatting objects are less widely supported. Most (?all) current implementations are only partial. FOP, from the Apache project, can render a large portion of the XSL formatting objects specification to PDF and other output formats. The PassiveTeX package is another implementation that uses TeX to convert the output of an XSL-FO stylesheet to PDF.
More file formats are supported to various degrees.
XML Path Language (XPath
) is used in XSL to describe how to access parts of an XML document.