Returns a string representation of the Xml object.
Syntax
Smartsite SXML | Copy Code |
---|---|
string xml.tostring(xml xml) string xml.tostring(xml xml, boolean fragment) string xml.tostring(xml xml, boolean fragment, boolean indent) |
Parameters
Name | Data Type | Description |
---|---|---|
xml | XML | The XML. |
fragment | Boolean | If set to true, the XML will be returned as a fragment, without namespace attributes. |
indent | Boolean | If set to true, the XML string will be properly indented. |
Return Value
Data Type | Description |
---|---|
String | A string representation of the XML object. |