[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] how to replace


Subject: Re: [xsl] how to replace <?Pub _hardspace?>
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 8 Aug 2003 20:50:25 +0100


> <xsl:value-of select="normalize-space(.)"/>

If you use value-of you get the string value of the para element and all
nodes, elements or procesing instructions etc will never cause any
templates to be run.

In order for the template matching processing instructions to have any
effect you need to apply templates, so change that to
<xsl:apply-templates/>

David

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



Current Thread