|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Calculations involving measurements with units
> If you do not know beforehand the units, but need them from > the string, then > you can do a recursive solution taking one letter at a time, > checking if it > is a number. If it is not a number, you print out the units. Another way to remove all characters except digits (and decimal points) from a string is: translate($x, translate($x, '0123456789.', ''), '') Michael Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








