Hi all,
What is the best way to write a XML DOM tree to a file with all indentation?
I use     
bool formatPrettyPrint = true;
if (theSerializer->canSetFeature(XMLUni::fgDOMWRTFormatPrettyPrint,
formatPrettyPrint))
        theSerializer->setFeature(XMLUni::fgDOMWRTFormatPrettyPrint,
formatPrettyPrint);
XMLFormatTarget *myFormTarget = new StdOutFormatTarget();
theSerializer->writeNode(myFormTarget, *doc);
XMLCh* source = theSerializer->writeToString(*doc);

I tried to search the e-mail archives but <http://archive.covalent.net> is
not available. Are there other Xerces-C references available besides
downloaded samples?
Thanks,

Savely


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

Reply via email to