DOMWriter. Writing a Document or Entity node produces a serialized form that is well formed XML, when possible (Entity nodes might not always be well formed XML in themselves). Writing other node types produces a fragment of text in a form that is not fully defined by this document, but that should be useful to a human for debugging or diagnostic purposes. Document or Entity node to be written. For other node types, something sensible should be written, but the exact serialized form is not specified.
@return Returns true if node was successfully serialized and false in case a failure occured and the failure wasn't canceled by the error handler.
| |
| |