This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: losing significant whitespace with normalize-space
- From: "Bradford, Denis" <denisb at rational dot com>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 16 Jul 2002 16:16:41 -0400
- Subject: RE: [xsl] losing significant whitespace with normalize-space
- Reply-to: xsl-list at lists dot mulberrytech dot com
You're right, the translation worked like a champ, just needed a space in
the replacement string:
<xsl:template match="text()">
<xsl:value-of select="translate(., '

', ' ')"/>
</xsl:template>
Many thanks for all the (quick) help!
Denis
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list