[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: 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:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • IDENT
    • Maribel - Mon, 5 Feb 2001 10:42:40 -0500 (EST)
      • Jeni Tennison - Mon, 5 Feb 2001 11:15:53 -0500 (EST)
      • Michael Kay - Mon, 5 Feb 2001 12:49:46 -0500 (EST) <=
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member