you using <xsl:output indent="yes">? If so, either remove this, or add
<xsl:strip-space elements="*">. One newline is from the source file, the
other is generated by the indentation algorithm.
I am using saxon6.4 on Solaris. I have a dtd
which declares general entity references to a few of external xml
documents. In the master xml document which use this dtd I
reference the entities, thus building a single xml document from other pieces
of xml documents declared in the dtd.
I use <xsl:copy-of> to perform deep copy from
the root for output. The output however add an extra line for every line
in the source documents--kinda like double spacing it. Is there a way to
suppress this extra line while getting an output as they are from the
sources? Here is the command I use.
thanks for your help.