Skip to content

ToXml

Returns the Content property as an Xml node.

myRestResponse.ToXml(contextNode?: Xml):Xml (Xml)

Parameters

Xml contextNode optional
    Optional XML node whose namespace and schema context is used while parsing the response.

Returns

The Content property parsed as an Xml node.

Remarks

If the content is not in valid XML syntax, a parsing error occurs.

See Also