I made a quick hack for this in PHP, calling native PHP regexp
functions from XSLT. Maybe it will be useful for some:
http://www.xml.lt/Blog/2009/03/19/Regexp+string+replace+with+PHP+XSL
Martynas
www.xml.lt
On Thu, Mar 12, 2009 at 3:14 PM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
>> to refresh an old thread again -- how can this be done in XSLT 1.0?
>
> I wouldn't attempt this in pure XSLT 1.0, except by use of an extension
> function supporting regular expressions.
>
> Michael Kay
> http://www.saxonica.com/
|