Pretty-prints the given XML string.

Syntax

Smartsite SXML CopyCode image Copy Code
string html.prettyprint(xml xml)
string html.prettyprint(string xhtml)

Parameters

Name Data Type Description
xml XML The XML.
xhtml String The XHTML.

Return Value

Data Type Description
String Xml String

Expand image Example

SXML