This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Blank lines in output XML file
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 22 Apr 2002 11:44:22 +0100
- Subject: RE: [xsl] Blank lines in output XML file
- Reply-to: xsl-list at lists dot mulberrytech dot com
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