Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: datatype >Thread Next - Re: datatype Re: datatypeTo: NULL Date: 7/3/2009 2:21:00 PM
Larry Sulky wrote:
> Thanks, Martin. So I need to "cast" the tokenised values into the
> decimal datatype somehow?
I did already suggest
<xsl:variable name="bboxWidth"
as="xs:decimal"
select="xs:decimal($bboxTokens[3]) -
xs:decimal($bboxTokens[1])"/>
where xs:decimal($bboxTokens[3]) casts the third item in the $bboxTokens
sequence to a decimal.
--
Martin Honnen --- MVP XML
http://msmvps.com/blogs/martin_honnen/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
