[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Filter leading numbers out of Strings


Subject: [xsl] Filter leading numbers out of Strings
From: Rolf Leopold <leopoldmail@xxxxxx>
Date: Mon, 06 Nov 2006 08:01:09 +0100

Hi,

i have stings in different length with leading numbers in an XML-File which i want to transform into another XML-File:
Is it possible to only filter out leading numbers of the strings without using a recursive template and without using xsl2.0?
For example:
"1234AB" should be "1234"
"123456ABC" should be "123456"
"123456789A" should be "123456789"


thank`s a lot for any help,
Rolf


Current Thread