This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: IDENT


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]