toString

open fun toString(): String

Return the XML tree as a XML string.

Return

The XML string describing this tree.


open fun toString(pretty: Boolean): String

Return the XML tree as a XML string.

Return

The XML string describing this tree.

Parameters

pretty

Whether the string should be pretty (with indents etc.)