There's a neat solution that works in 1.0:
translate($input, translate($input, '0123456789', ''), '')
The inner translate returns all characters present in the string that are not digits; the outer translate removes these characters from the string.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|