DOMWriter
. The result of serializing the node is returned as a string. 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.
@param wnode The node to be written.
@return Returns the serialized data, or null
in case a failure occured and the failure wasn't canceled by the error handler.
@exception DOMException DOMSTRING_SIZE_ERR: The resulting string is too long to fit in a DOMString
.
|
|
|
|