Hi Joseph,

Uma Shinde replied earlier with a method to suppress that XML header.
it is:
<xsl:output method="xml" omit-xml-declaration="yes"/>

As for why I would like to do so, this is because I need to concatenate a
bunch of xml files together with some manual additions.
I guess there's a better way to do what I want to do, but I'm being lazy...

Hanaa Barakat


"The best laid plans of mice and men oft' gang aglay..."
-Robert Burns



Joseph Kesselman/CAM/Lotus@Lotus on 10/23/2001 10:17:09 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  Re: outputting xml without the xml header tag



I don't think we currently have a way to suppress the XML Declaration,
other than by switching to HTML or Text output modes.

Curiousity: Why do you want to do so? Any XML application should be able to
handle the header just fine, and I believe the version we're generating is
also appropriate as a Text Declaration  for external entities. And in most
cases it really is safer for a file to explicitly state what encoding it
uses.




Reply via email to