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: Blank lines in output XML file


indent="yes" is only allowed to add whitespace nodes, it isn't allowed to
remove existing whitespace. Generally speaking if your input is already
formatted into lines, then when you use method="xml" indent="yes" it is best
also to specify <xsl:strip-space elements="*"/>.

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com

> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Joeri Belis
> Sent: 22 April 2002 10:08
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] Blank lines in output XML file
>
>
> Hi,
>
> Env: Saxon
>
> doing a XML -> XML transformation, my output XML contains
> between each line
> a blank line.
>
> I am using <xsl:output method="xml" indent="yes"/> to get a
> more readable
> layout.
> But the blank lines are not helping that.
>
> 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]