Subject: Re: [xsl] identifying series of numbers in text strings From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Sun, 27 Jul 2008 19:01:16 +0200 |
Using XSL 1.0, is there a way I can search the contents of an element to find series of 4-digit numbers? Then if there are two sets of 4-digit numbers, I would like to select those values in order (I'll be outputting them somewhere else as a date span), if there is only one 4-digit set I'll need to output that a different way. Example of XML below. Thanks to all in advance for the help!
<date>23 July 2001-April 2006</date> <date>July 1996</date> <date>unknown</date>
Martin Honnen http://JavaScript.FAQTs.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] identifying series of numbers, Joyce Celeste Chapma | Thread | Re: [xsl] identifying series of num, Dimitre Novatchev |
[xsl] identifying series of numbers, Joyce Celeste Chapma | Date | Re: [xsl] identifying series of num, Dimitre Novatchev |
Month |