SxXMLToString Function

Returns the XML for the current element and children as text. This requires the reader to be at the start of an element or document.

Arguments

Number Type Compulsory Default Description
1 string Yes Document reference

Argument 1

Reference for the document from SxXMLReadDocument .

Returns

Return type: string

The content of the current element as XML, or empty string if the XML document cannot be read.