xsl-list
[Top] [All Lists]

RE: Error in XPath 2.0 expression Too many items

2006-01-03 05:18:59

Now my problem is when I see the 'browser'  present in this xmlspy I
can see values fetched but when I click on 'XSL Transformation' it
gives me an error
"XSL transformation failed due to following error:
Error in XPath 2.0 expression Too many items"

and the cursor stops at this line
<xsl:variable name="city" 
select="substring-before($vCityStateZip, ',')"/>


My guess would be that the value of $vCityStateZip is a sequence containing
more than one item, in which case it's a type error to use it as the first
argument to substring-before().

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



<Prev in Thread] Current Thread [Next in Thread>