RE: [xsl] IDENT

Subject: RE: [xsl] IDENT
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 5 Feb 2001 17:07:53 -0000
> 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>&lt;B&gt;</xsl:text>
>     <xsl:value-of select="."/>
>     <xsl:text>&lt;/B&gt; </xsl:text>
>   </xsl:template>

Mike Kay

 XSL-List info and archive:

Current Thread