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 Bill Schindler <de...@bitranch.com> on 2000/11/21 18:12:17 UTC
Programming with Xerces-C FAQ?
Jesse Pelton <js...@PKC.com> wrote:
> 1) Create your document with a call to DOM_Document::createDocument().
> You'll supply a DOM_DocumentType as the third parameter; retain the node for
> use in step 3.
> 2) Use DOM_Document::createXMLDecl() to create an XML declaration.
> 3) Use DOM_Document::insertBefore() to insert the XMLDecl before the
> DOM_DocumentType node that you specified in step 1.
Nice, well written instructions!
I'd like to propose that we start an additional FAQ for "Programming with
Xerces-C". Information like the above (and other stuff like casting
DOM_Node and using Initialize/Terminate) could go into that section.
And I suppose that I'm simultaneously volunteering to create and edit it.
;-)
Also, while I'm looking at it, the "Parsing with Xerces-C" seems like it
would be more logically named "Running Xerces-C" or "Problems with running
Xerces-C".
--Bill