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]
Other format: [Raw text]

RE: NEWLINES


> 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@ntlworld.com
work: Michael.Kay@softwareag.com


>
> 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


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