Subject: Re: [xsl] Blank lines in output XML file From: "Joeri Belis" <joeri.belis@xxxxxxxxxxxx> Date: Mon, 22 Apr 2002 11:44:25 +0200 |
I use the standard <xsl:copy> structure. Here is a part of the xlst file i am using <xsl:template match="/"> <xsl:apply-templates select="msns:Workbook"/> </xsl:template> <!-- ********************************************* --> <xsl:template match="msns:Workbook"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:copy-of select="*[name()!='Worksheet']"/> <xsl:apply-templates select="msns:Worksheet"/> </xsl:copy> </xsl:template> <!-- ********************************************* --> <xsl:template match="msns:Worksheet"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:apply-templates select="msns:Table"/> <xsl:copy-of select="*[name()!='Table']"/> </xsl:copy> </xsl:template> <!-- ********************************************* --> The source XML file is a excel worksheet that is saved as a XML file. When i open it via edit under dos, Then the file looks ok ----- Original Message ----- From: "David Carlisle" <davidc@xxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Monday, April 22, 2002 11:19 AM Subject: Re: [xsl] Blank lines in output XML file > > > > doing a XML -> XML transformation, my output XML contains between each line > > a blank line. > > every character in the result tree, including newline characters, is > specified by the stylesheet, either being copied from the source tree or > from the stylesheet document. > > Given that you didn't show any input or your stylesheet it's hard to say > where your nelines are coming from. > > David > > _____________________________________________________________________ > This message has been checked for all known viruses by Star Internet > delivered through the MessageLabs Virus Scanning Service. For further > information visit http://www.star.net.uk/stats.asp or alternatively call > Star Internet for details on the Virus Scanning Service. > > 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] Blank lines in output XML, David Carlisle |
Re: [xsl] Blank lines in output XML, David Carlisle | Date | [xsl] last(): selecting the last on, Jarkko . Moilanen |
Month |