Hi Alain, Alain Leblanc <[EMAIL PROTECTED]> writes:
> There used to be the line > > <?xml version="1.0" encoding="UTF-8" standalone="no" ?> > > by default on top of the file. Now it is not there. I went from using > a DOMWriter to a DOMLSSerializer. I thought that using > > config->setParameter(XMLUni::fgDOMXMLDeclaration, true) > > would do it, but it didn't do anything. Anyone has any idea? Hm, this works for me even without the call to setParameter(). Can you provide a sample program that demonstrates the missing XML declaration problem? There must be something special about the way you do the serialization. Boris -- Boris Kolpackov, Code Synthesis Tools http://codesynthesis.com/~boris/blog Open source XML data binding for C++: http://codesynthesis.com/products/xsd Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde
