[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: String to integer conversion
> Can any one tell me how I can convert a string to integer and > a decimal > to integer in XSLT. XSLT 1.0 doesn't have decimal and integer types, it only has "number", which is double-precision floating point. In XSLT 2.0 you can convert a string to an integer using xs:integer($string), and a decimal to an integer using xs:integer($decimal). Michael Kay http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|