RE: XSLT text processing via regexp

Subject: RE: XSLT text processing via regexp
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Wed, 1 Sep 1999 14:32:32 -0600
> I want to use regexp (preferably perl 5 regexp)
> to get "John" instead of the entire content
> "Welcome! John"

There are string functions defined in the XPath spec which might be of some
use to you, like contains(), substring-before(), substring-after(),
substring() ...

At the end of the XSLT spec you will see that regular expressions for
pattern matching are on the wish list for a future version of XSLT.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread