RE: [xsl] Comments in XPath / XSLT regular expressions?

Subject: RE: [xsl] Comments in XPath / XSLT regular expressions?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 26 Jul 2006 10:51:51 +0100
> you can do similar things in the AVT of 
> analyze-string select="." regex=".*{(: comment here :)}[abc]"

Actually I don't think (: comment here :) is a legal XPath expression, you
would have to write

regex=".*{''(: comment here :)}[abc]"

which possibly adds more obscurity than clarity...

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

Current Thread