Saxon extensions to the W3C XSLT/XQuery specifications
In the representation of schema information delivered by the saxon:schema() extension function, enumeration facets are now exposed using a new "typed-value" property which is an array of sequences (each sequence being one of the enumeration values). An array of sequences is needed to cater for list types, where each enumeration value can be a sequence. The existing "value" property is retained; this delivers a sequence of strings, where each value in the enumeration is reduced to a string.
The xsl:source-document instruction
supports two Saxon extension attributes:
no|false|0) to enable line numbering for the document being read,
#all (strips all whitespace text nodes),
#none (no whitespace stripping),
whitespace in elements declared as having element-only content), and
#default (follows the rules in
Extension attributes in the Saxon namespace (for example,
saxon:asynchronous) may now be written
as shadow attributes evaluated using static expressions (for example,
A new extension attribute
saxon:trace = (boolean) has been added to the xsl:mode declaration. It causes tracing of all template rules executed in the
mode, showing the nodes selected by
xsl:apply-templates and the rules used to process them.