You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Houle, Dennis W" <De...@West.Boeing.com> on 2001/09/06 18:35:31 UTC

IDOM root element has a XML declaration text node child

Team Xerces-C,
After parsing an XML file with IDOMParser,
IDOM_Document::getDocumentElement() returns a "root" element containing two
children, the XML declaration as a text node and the true XML root element
node.

Is there a way to configure IDOMParser so that the XML declaration is not
added to the document tree in this manner?  as there is in the DOMParser via
the setToCreateXMLDeclTypeNode() method.

Thanks much.

Dennis W. Houle
The Boeing Company

(714) 762-0291
(714) 762-2253 (fax)
dennis.w.houle@boeing.com



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org