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