<xsl:analyze-string select="$pattern" regex="$regex">
The regex attribute is an AVT so you want regex="{$regex}"
XPath 2.0 will support regexs, when is the first XPath 2.0
engine likely to be available ?
You can get saxon 7 now which supports large parts of the current xslt2
and xpath2 drafts.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list