xsl-list
[Top] [All Lists]

RE: [xsl] Inserting a separator only between non-empty strings (XSLT 2)

2007-05-18 04:36:44
and what about that ?

<xsl:variable name="concat">
<xsl:sequence>
  <xsl:value-of select="$a"/>
  <xsl:value-of select="$b"/>
  <xsl:value-of select="$c"/>
</xsl:sequence>

xsl:sequence is no longer allowed to take child instructions in this way,
see:

http://www.w3.org/TR/xslt20/#element-sequence

It was allowed at one time, but the detailed specification led to too many
problems.

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--