Experimental: proposed new XSLT 4.0 instruction. Matches selected items against an XSLT pattern.
Content: ( xsl:fallback* )
Permitted parent elements: any XSLT element whose content model is sequence-constructor; any literal result element
Selects the values to be matched against
the pattern. If the attribute is absent, it defaults to
The XSLT match pattern used to test items in the selected sequence.
Available in the XSLT 4.0 proposal. Requires Saxon-PE or Saxon-EE. Implemented experimentally since Saxon 11. Available for all platforms.
Notes on the Saxon implementation
Available from Saxon 11; requires syntax extensions to be enabled.
The result of the instruction is an
xs:boolean value: true if every
selected item matches the supplied pattern, otherwise false.
The instruction will normally be used where an atomic value is expected, for example
as the body of a stylesheet function, or the body of an
xsl:fallback children are relevant only if the instruction is executed in
forwards-compatibility mode by a processor that doesn't recognize XSLT 4.0 instructions.
For more information, see The