[Home] [By Thread] [By Date] [Recent Entries]
Joyce Celeste Chapman wrote:
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! Do you use an XSLT 1.0 processor that supports EXSLT? Then you could use http://www.exslt.org/regexp/functions/match/index.html. Firefox 3.0 has support for that match function. With IE and MSXML you can use the implementation provided at the exslt.org site. -- Martin Honnen http://JavaScript.FAQTs.com/
|

Cart



