On 01/03/2010 11:37, James Cummings wrote:
On Mon, Mar 1, 2010 at 11:19, Michael Kay<mike(_at_)saxonica(_dot_)com> wrote:
Sorry, it turns out it's implemented for matches(), tokenize(), and
replace(), but not for xsl:analyze-string.
This is a real shame. :-( An emotional rollercoaster of finding out
that this magic flag exists, only to find out it doesn't exist in
xsl:analyze-string! I guess I'll keep exploring other options.
-James Cummings
you should be able to get access to the feature using replace() I think.
use replace with the nonstandard lookahead flag and a replace string
which re-inserts the entire matched string, but with some unique marker
such as @start(_at_)$0@end, then you can apply analyze-string to the
resulting string without needing any lookahead markers as you can
instead match the explicit @start@ and @end@ boundaries added in the
first pass.
David
________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--