DOMWriter::writeToString() should be called with a DOMDocument to get the XML declarator (<?xml ..?>), not with the corresponding DOMElement.
DOMWriter::writeToString() should be called with a DOMDocument to get the XML declarator (<?xml ..?>), not with the corresponding DOMElement.
Tjoppen/pyjames,Tjoppen/james,Tjoppen/james,Tjoppen/pyjames,Tjoppen/pyjames,Tjoppen/james