Assuming you've created a DOMWriter pointed to by pWriter:
 
if (pWriter->canSetFeature(XMLUni::fgDOMXMLDeclaration, false))
  pWriter->setFeature(XMLUni::fgDOMXMLDeclaration,
false
);


From: Shawn Delaney [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 16, 2005 10:12 PM
To: xerces-c-dev@xml.apache.org
Subject: DOMDocument w/o XML Declaration

Hi,

 

I’m looking to create a DOMDocument object w/o an XMLDeclaration node? It seems to place one there by default. Any help would be appreciated.

 

Thanks.

Reply via email to