Only call DOMDocumentFragment::appendXml() with an argument that can be used as an string