For me, version 2.3.0 outputs the XML declaration just fine and all I'm doing to my DOMWriter is:
pWriter->setFeature(XMLUni::fgDOMWRTFormatPrettyPrint, true); pWriter->setFeature(XMLUni::fgDOMWRTWhitespaceInElementContent, true); pWriter->setEncoding(XMLUni::fgUTF8EncodingString); What version/platform of Xerces are you using? This is working fine for me on Windows 2000 and MacOS 9.2 -- I vaguely remember having this problem with version 2.0.0, although my memory could be failing me. Adam Heinz Development Consultant Exstream Software --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
