[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

identifying series of numbers in text strings

Subject: identifying series of numbers in text strings
From: Joyce Celeste Chapman <chapmajc@xxxxxxxxxxxxx>
Date: Sun, 27 Jul 2008 11:55:32 -0400
 identifying series of numbers in text strings
Dear all,

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>

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.