This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: strange problem with string-replace
> But when I wand to remove
> all (line feed) or   (space)
line endings are normalised to 10 not 13, and since this is working
at the level of single characters you can use translate() rather than
string-replace.
<xsl:template match="a">
<xsl:value-of select="translate(.,' ','')"/>
</xsl:template>
</xsl:stylesheet>
converts
<a>
1 2
3 4
5 6
</a>
to
123456
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list