Subject:Text output, blank line inserted Author:Ron Pape Date:25 Jan 2007 12:14 PM
Hello,
Input is an XML file that is not well formed, rather proprietary - output from another application.
Output is in XML format, although I am using "text" so that I can create the elements when I want versus using the xsl:element. I cannot get my head around the need to separate the begin/end tags, so that the moment I am using text.
Anyway, when I run the XSL using Debug mode the output file is created OK. However, when I run normally (w/o debug) there is a blank line inserted at the top of the output.
There are several blank lines throughout the result document, but that is not a problem (at least for now).
I am new to using XSLT and thus far been unable to determine where this line is getting inserted.
Subject:Text output, blank line inserted Author:Minollo I. Date:25 Jan 2007 12:54 PM
> Input is an XML file that is not well formed, rather proprietary - output from another application.
If it's not well formed, it's not XML. I wonder how you can use XSLT to process it?
> Output is in XML format, although I am using "text" so that I can create the elements when I want versus using the xsl:element.
>I cannot get my head around the need to separate the begin/end tags, so that the moment I am using text.
Anyone is free to suffer the way he pleases.
But you may want to reconsider that choice, as the extra lines/whitespaces you are seeing are most likely caused by the fact that you chose "text" as your output method.