This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: IDENT
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] IDENT
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Mon, 5 Feb 2001 17:07:53 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I'm transforming a HTML file to a text file with xsl, and I want to
> obtain a plain text, without lines feeds. How I can obtain it?
Use <xsl:text> to eliminate all newline characters in the stylesheet that
are adjacent
to printable text characters, for example:
> <xsl:template match="B" mode="special">
> <xsl:text><B></xsl:text>
> <xsl:value-of select="."/>
> <xsl:text></B> </xsl:text>
> </xsl:template>
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list