I don't know if this is what you're looking for, but I've set my output as UTF-8 on
the DOMWriter, not the document, since 2.0.0.
DOMImplementation* pImpl = DOMImplementationRegistry::getDOMImplementation(_X("LS"));
DOMWriter* pWriter = ((DOMImplementationLS*)pImpl)->createDOMWriter();
pWriter->setEncoding(_X("UTF-8"));
Adam Heinz
Development Consultant
Exstream Software
[EMAIL PROTECTED]
317.879.2831
connecting with the eGeneration
www.exstream.com
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 03, 2003 1:13 AM
To: [EMAIL PROTECTED]
Subject: update from xerces 1.7.0 to 2.3.0
Hello,
I am updating from Xerces 1.7.0 to 2.3.0.
In 1.7.0 I could create a XML-Declaration Node with
m_Dokument.createXMLDecl( S_xmlDeclVersion, "UTF-8", S_xmlDeclStandalone ).
Now, how can I do this in 2.3.0, as DOMDocument no longer has a similar
method ?
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]