RE: [xsl] Not-quite normalize-space()

Subject: RE: [xsl] Not-quite normalize-space()
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 30 Mar 2007 08:29:29 +0100
> In various contexts I want to process text() nodes differently:

> My application is 
> still XSLT 1.0, but I'd be interested to learn of any neater 
> 2.0 solution too.
> 

In 2.0 these can all be done very easily using one-line stylesheet functions
that invoke replace() using a suitable regular expression.

Michael Kay
http://www.saxonica.com/

Current Thread