Re: two regexp related questions
Yes. This is being added in 3.0.
Why not use the regex
([A-Z]+) = ([A-Z]+)
and rely on xsl:matching-substring being called multiple times?
Alternatively, first use tokenize() to split on the semicolons, and then put each token through xsl:analyze-string.
Personally, I find long regexes very difficult to get right, and try to split the task up into small pieces that I can understand and debug.
Michael Kay Saxonica
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