You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Martin Honnen <ma...@gmx.de> on 2023/12/12 20:50:55 UTC

In what way is the XPath 2/3 comma operator for sequences supported?

This is a question about the XSLT 3 development branch of Xalan; the
documentation
https://xalan.apache.org/xalan-j/xsl3/xalanj_xslt3.0_implementation_status.pdf
mentions as XPath 3.1 features "2.9 Sequence constructor expression,
using comma operator".

Should it be possible to use that in XSLT select expressions of e.g.
xsl:value-of or xsl:apply-templates?

For me a simple attempt like

<xsl:value-of select="10,20"/>


gives an error like "Extra illegal tokens: ',', '20'; Line#: 16;
Column#: 35".

In what way is the comma operator supported?