DOMWriter
. The result of serializing the node is returned as a DOMString (this method completely ignores all the encoding information available). Writing a Document or Entity node produces a serialized form that is well formed XML. 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. null
in case a failure occured and the failure wasn't canceled by the error handler.
@exception DOMException DOMSTRING_SIZE_ERR: Raised if the resulting string is too long to fit in a DOMString
.
|
|
|
|
|
|
|
|
|
|