serializeToString method

Converts nodes in a Document Object Model (DOM) tree to a string that contains an XML representation of the tree.

 

Syntax

 retVal = object.serializeToString(pNode);

Parameters

  • pNode [in]
    Type: IHTMLDOMNode

    The parent DOM node of a document tree to convert to an XML string.

Standards information

There are no standards that apply here.