[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] how to cast a sequence (e.g. strings to integers)


Subject: Re: [xsl] how to cast a sequence (e.g. strings to integers)
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Wed, 29 Feb 2012 16:39:54 +0000

On 29/02/2012 16:19, Michael Kay wrote:
On 29/02/2012 15:32, Andrew Welch wrote:
Or in 3.0

<xsl:sequence select="$numbers!xs:integer(.)"/>
Was there an issue with $numbers/xs:integer(.) ?



There were people who weren't prepared to countenance @price/2 = 2

Whoops. That's already true in XPath 2.0, and it doesn't seem to have caused any nuclear accidents yet.


Michael Kay
Saxonica


Current Thread
Keywords