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.
| |