RE: [xsl] NEWLINES

Subject: RE: [xsl] NEWLINES
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 5 Mar 2002 23:05:25 -0000
> is there a way to remove unwanted newlines from the output??

You need to find out where they are coming from. The likely causes are
(a) from the stylesheet
(b) from the source document
(c) from output indentation.

For (a), try putting any literal text that you want to output inside
<xsl:text> elements.
For (b), try <xsl:strip-space elements="*"/>
For (c), try <xsl:output indent="no"/>

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx


>
> i am getting for some reasons, unwanted newlines in the output. i
> want to get rid of them. please help someone
> many thanks
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread