MENU
XSLT 4 0
XSLT 4.0 is a superset of XSLT 3.0, under active development by the W3C's XQuery and XSLT Extensions Community Group (QT4CG) as a Community Group draft. It is not yet an official W3C Recommendation. The draft specification is published at https://qt4cg.org/specifications/xslt-40/Overview.html.Among the instructions proposed for XSLT 4.0 are:
- <xsl:switch> — a further conditional-branching instruction, alongside the existing <xsl:if> and <xsl:choose>/<xsl:when>/<xsl:otherwise>.
- <xsl:item-type> — part of an enhanced type system that allows more expressive constraints to be declared, in particular for maps and atomic items.
- <xsl:array> and <xsl:array-member> — instructions for constructing array values, extending the existing support for maps (see Streaming, Accumulators and Maps) with equivalent handling for arrays.