Use this tag for questions specific to XSL Transformations version 2.0 and no other version.
XSL Transformations version 2.0, the successor to XSLT 1.0. It introduces the following features:
xsl:function: user defined functions that can be invoked from within XPath expressions
XPath extension mechanism: a formal means of invoking methods written in other languages from within an XSLT expression
unparsed-text-available(): checking a URL to insure that it returns text content
unparsed-text(): loading non-XML content into an XSLT transformation
Sequences: collections of atomic data types or XML objects
Date/Time API: functions to manipulate date formats
Numeric iterations: expressions that facilitate loops without recursion
xsl:analyze-string: text processing of a string based on a regular expression
xsl:next-match: allows multiple template rules to be applied to the same source node
xsl:result-document: send output to a file or web service
xsl:for-each-group: allows nodes to be organized and referenced as a group
Inline control keywords: XQuery extensions for iterating and conditional statements in XPath
xsl:character-map: map entities to some output form, to replace disable-output-escaping
tunnel attribute: allows pass-through of a parameter to a nested template which depends on it
There are several standalone XSLT 2.0 processors, including:
Online Training Courses
- Foundations of XSLT 2 and XSLT 1 A Pluralsight course by Dimitre Novatchev
- What's New in XSLT 3.0: Part 1 A Pluralsight course by Dimitre Novatchev
Books available online
- G. Ken Holman's book "Practical Transformation Using XSLT and XPath" covering XSLT and XPath 2.0 as well as 1.0
See also:
- Saxon CE is an implementation of XSLT 2.0 that runs in any modern browser; it includes extensions that provide declarative handling of user interaction events.
News: As of June 8th 2017, XSLT 3.0 is a Recommendation of the W3C Consortium and therefore the latest version of XSLT.