Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
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.
<xsl:template match="/"><xsl:copy-of select="."/></xsl:template>
thanks for your help.
xsl:copy-of will not add any white space by itself - this must be
coming from the input document. A wild guess: have you written
in the main document? If so, this will contribute a newline for every
included document. Write <doc>&e1;&e2;</doc> instead.
If that isn't it, please be more specific about what the input and
output look like.
Melvaig Software Engineering Limited
voice: +44 (0) 1445 771 271=20
email: tcn@... web: http://www.melvaig.co.uk