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.
DOMSerializer. 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 afailure 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.
DOMSerializer interface. The output is written to a DOMString that is returned to the caller (this method completely ignores all the encoding information available).
@param node The node to serialize.
@return Returns the serialized data, or null in case the node couldn't be serialized.
@exception DOMException DOMSTRING_SIZE_ERR: Raised if the resulting string is too long to fit in a DOMString.
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.
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |