Subject: Re: [xsl] Removing all line breaks in text nodes From: David Carlisle <davidc@xxxxxxxxx> Date: Sat, 9 Sep 2006 23:48:10 +0100 |
you don't appear to apply normalize-space anywhere, simplest being something like changing <xsl:template match="text()[normalize-space(.)='']"/> to <xsl:template match="text()"> <xsl:value-of select="normalize-space(.)"/> </xsl:template> or you might (or might not) want to re-insert a leading or trailing space as shown in teh code fragments at DaveP's site that you quoted. David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Removing all line breaks in t, Mark Peters | Thread | Re: [xsl] Removing all line breaks , Mark Peters |
[xsl] Removing all line breaks in t, Mark Peters | Date | Re: [xsl] centering a graphic or ta, Dan Vint |
Month |