Subject: RE: [xsl] Calculations involving measurements with units From: "Michael Kay" <mhk@xxxxxxxxx> Date: Fri, 2 Jan 2004 09:26:35 -0000 |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Calculations involving me, Ragulf Pickaxe | Thread | Re: [xsl] Calculations involving me, Paul A. Hoadley |
RE: [xsl] weird character B , how t, Michael Kay | Date | Re: [xsl] weird character  , how t, Julian Reschke |
Month |