Subject: Re: Type error with variable as=xs:string using xsl:choose
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 7 Sep 2006 11:10:53 +0100
|
> 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
|