Subject: RE: [xsl] Blank lines in output XML file From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Mon, 22 Apr 2002 11:44:22 +0100 |
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@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Joeri Belis > Sent: 22 April 2002 10:08 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Blank lines in output XML, David Carlisle | Thread | RE: [xsl] last(): selecting the las, Jarno . Elovirta |
Re: [xsl] Blank lines in output XML, David Carlisle | Date | RE: [xsl] last(): selecting the las, Jarno . Elovirta |
Month |