[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: "if-condition-return something" idiom : is it
On Mon, Jun 16, 2014 at 01:11:41PM -0000, Kerry, Richard richard.kerry@xxxxxxxx scripsit: > What I am doing is writing a callable template which will give dates > in the form yyyy-mm (y and m numeric) when given dates in a variety of > formats including those with strings for months (dd MMM yy, > dd/mm/yyyy, mm/yy, and many others). So the input is a single string > which needs to be tested against a number of different formats and > picked apart accordingly. Perhaps I can partly pick it apart then put > the parts into a node-set and get a template called on that. If you're stuck with XSLT 1.0, this is going to be painful, because XSLT 1.0 doesn't have regular expressions.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|