xsl-list
[Top] [All Lists]

Re: [xsl] Removing line breaks without normalize-space()

2006-09-19 11:11:06
Spencer Tickner wrote:

<xsl:template match="text()">
<xsl:value-of select="translate(., $cr, '')"/>
</xsl:template>
Of course! translate() is a much easier resolution than my proposal when in XSLT 1.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--