xsl-list
[Top] [All Lists]

Re: [xsl] Type error with variable as=xs:string using xsl:choose

2006-09-07 03:11:06

If $xsrc has more than one node and the xsl:otherwise instruction kicks in 
then this is an error.

No that branch is OK (value-of always makes a single text node, even if
its select attribute has a sequence (it concatenates the string values of
the sequence items, inserting a separator if specified). It's the other
branches that generate sequences of length 2.

David

--~------------------------------------------------------------------
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>
--~--