Here is what have been using for Xerces 2.0.0 through 2.3.0:

// Create serializer.
DOMImplementation* pImpl = DOMImplementationRegistry::getDOMImplementation(_X("LS"));
DOMWriter* pWriter = ((DOMImplementationLS*)pImpl)->createDOMWriter();
pWriter->setEncoding(_X("UTF-8"));

// Save document to disk.
XMLCh* psxPath = NULL; // Wherever you want output to go.
LocalFileFormatTarget rFile(psxPath);
pWriter->writeNode(&rFile, *pDoc);

        Adam Heinz
        Development Consultant

        Exstream Software
        2424 Harrodsburg Road, Suite 200
        Lexington, KY 40503
        (317) 879-2831
        [EMAIL PROTECTED]

        connecting with the eGeneration 
        www.exstream.com

-----Original Message-----
From: Hieu Bui [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 10:12 AM
To: [EMAIL PROTECTED]
Subject: RE: xerces 1.6.0 questions


Hi,

Thanks for the response.  I have the full distribution and have tried looking at the 
sample apps but couldn't find what I needed. Do you have a suggestion for where to 
look in particular for an answer to question #2?

TIA,

--Hieu

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to