How to get the doctype declaration using DOM on Xerces 2.8 -


i trying add doctype declaration output xml file using xerces 2.8

i using domdocument* doc1 = implementation->createdocument(); create document

and want add doctype doc doc1.

i obtain doctype doc follow:

domdocumenttype* document_type = doc->getdoctype();

however, can not pass document_type function createdocument().

does has example of how this?

thank you,

gilmer

you have set "http://xml.org/sax/properties/lexical-handler" property of xerces instance object of type "lexicalhandler". informed events on "startdtd" callback. @ least true java. should identical c.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -