also, since you are using
xsl:analyze-string, the regex is an attribute value template
so you can define the regexp parts separately and drop them
in using {}.
A word of warning here, regular expressions may perform a lot better if they
are known at stylesheet compile time. (It might be that this example works
as a constant subexpression, but one would need to check.)
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>
--~--