xsl-list
[Top] [All Lists]

RE: [xsl] lookaheads in XSLT2 regexes

2010-03-01 05:19:28

This sounds like just what I want.  It isn't for a production 
system, and one step in a pipeline of transformations for a 
one-off conversion.  However I have a problem:  When I put ! 
into the flags attribute of analyze-string I get the following error:

 FORX0001: Invalid character '!' in regular expression flags

from:

 <xsl:analyze-string select="$str" regex="{$abbr[1]}" flags="!">


Sorry, it turns out it's implemented for matches(), tokenize(), and
replace(), but not for xsl:analyze-string.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 


--~------------------------------------------------------------------
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>
--~--