[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Comma operator returns a sequence of its items, or not
Hi list, I'm probably missing the obvious here, but I would expect the following simplified code snippet: <xsl:template match="/"> <xsl:value-of select=" my:overload(12), my:overload(13)" separator=";" /> </xsl:template> <xsl:function name="my:overload"> <xsl:param name="one" /> <xsl:value-of select="$one"/> </xsl:function> to output "12;13". However, it outputs "1213" with Saxon 9.3. Is this my misunderstanding of the comma operator, or am I missing something obvious? I know that xsl:value-of does not return a sequence, but I'd expect the comma operator to kick in, same as in <xsl:value-of select="'12', '13'" separator=";" />, which outputs "12;13" as expected. Thanks, Abel
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|