Re: BDB XML, getContentAsDOM and DOMDocument -
02-07-2005
, 12:08 PM
Hendrik,
The fact that DOMDocument::getEncoding() is not implemented in BDB XML
is an oversight, and will be fixed.
You can work around the issue by explicitly setting
the encoding you want for the output, using the method,
DOMWriter::setEncoding(), before
calling DOMWriter::writeNode(). It is usually a good idea to be
explicit about
your desired output encoding, in general.
Regards,
George |