[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: Getting the offset of a matching-substring in
The new fn:analyze-string() function in XPath 3.0, designed to deliver
the benefits of xsl:analyze-string to XQuery users, produces as output a
copy of the input string with added markup to identify the matching and
non-matching substrings, and the captured groups. So you can examine
this output to see where the captured groups are in the string; but it's
still a second pass of a kind.
http://www.w3.org/TR/xpath-functions-30/#func-analyze-string Michael Kay Saxonica On 16/03/2012 20:57, Martin Holmes wrote: That's what I did in the end. It would be nice not to have to, though.
|
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
|