The XML declaration string is added when serializing the document; can you tell us how you are doing it?

Alberto

Il 23/05/2011 09:22, Sharma, Gaurav ha scritto:
Hi All,

Can anyone of you please tell me that how to specify the xml declaration in the 
output xml document. I create document using

xercesc::DOMImplementation* impl = 
xercesc::DOMImplementationRegistry::getDOMImplementation("core") ;
xercesc::DOMDocument *doc = impl->createDocument(0, "root", 0);

But the xml declaration string "<?xml version="1.0" encoding="utf-8"?>" doesn't 
appear at the top.

Please help!

Thanks and Regards
Gaurav Sharma



The information contained in this electronic mail transmission
may be privileged and confidential, and therefore, protected
from disclosure. If you have received this communication in
error, please notify us immediately by replying to this
message and deleting it from your computer without copying
or disclosing it.





Reply via email to