xsl-list
[Top] [All Lists]

Re: [xsl] Function to Extract integer from string

2006-10-24 05:22:37


since you are using 2 You can use

replace(.,'[^ 0-9\.]','')
which removes everything except spaces digits and .

I will eventually group and sort by number.
If you are using saxon you may just be able to use its alpha-numeric
sorting collation directly.



David

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--