Paradigm | Declarative |
---|---|
Developer | World Wide Web Consortium (W3C) |
First appeared | 1998 |
Stable release | 3.0
/ June 8, 2017 |
Filename extensions | .xslt |
Website | www |
Major implementations | |
libxslt, Saxon, Xalan | |
Influenced by | |
DSSSL |
Filename extension | .xslt |
---|---|
Internet media type |
application/xslt+xml |
Uniform Type Identifier (UTI) | org.w3.xsl |
XSLT (Extensible Stylesheet Language Transformations) is a language originally designed for transforming XML documents into other XML documents,[1] or other formats such as HTML for web pages, plain text, or XSL Formatting Objects. These formats can be subsequently converted to formats such as PDF, PostScript, and PNG.[2] Support for JSON and plain-text transformation was added in later updates to the XSLT 1.0 specification.
As of August 2022[update], the most recent stable version of the language is XSLT 3.0, which achieved Recommendation status in June 2017.
XSLT 3.0 implementations support Java, .NET, C/C++, Python, PHP and NodeJS. An XSLT 3.0 JavaScript library can also be hosted within the web browser. Modern web browsers also include native support for XSLT 1.0.[3]
The XSLT document transformation specifies how to transform an XML document into new document (usually XML, but other formats, such as plain text are supported).[4] Typically, input documents are XML files, but anything from which the processor can build an XQuery and XPath Data Model can be used, such as relational database tables or geographical information systems.[1]
While XSLT was originally designed as a special-purpose language for XML transformation, the language is Turing-complete, making it theoretically capable of arbitrary computations.[5]