xsl-list
[Top] [All Lists]

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

2006-07-26 02:52:07
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/


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