XSLT 3.0 implementation
-xsltversion:3.0on the command line.
Maps, as defined in the draft XSLT 3.0 specification, are implemented as an extension to XPath 3.0. For details see Maps in XPath 3.0.
xsl:merge instruction is implemented.
Pattern syntax in the form
~ItemType is supported, for example
matches an integer. Predicates are allowed on such patterns, for example
~xs:integer[. gt 0].
Associated with this change,
xsl:apply-templates (as well as
xsl:apply-imports can be used to process any kind of item, not only nodes (for example, atomic values
xsl:for-each-group with the
patterns can now process a sequence of atomic values.
xsl:mode declaration, the values supported for the
on-no-match attribute have
changed, in line with changes in the XSLT 3.0 working draft. The option
copy is renamed
stringify is renamed
discard is renamed
new options are added:
xsl:copy is used with a
select attribute (new feature in XSLT 3.0), the
context item for evaluation of the contained sequence constructor is now the item selected by the
except operators can now be used in match patterns; multiple operators
and parentheses are allowed. Parentheses are also allowed around an expression that is then filtered by
a predicate, for example