Method XmlNode():setDefaultIndentation() Foundation
Sets the indentation for serializing the XML document.
Syntax
:setDefaultIndentation( <nIndent> ) --> NIL
Parameters
<nIndent>
A numeric integer value with the number of characters used for indenting nodes in the XML document.
Return
:setDefaultIndentation() returns NIL.
Description
The method :setDefaultIndentation() changes the spacing used for indenting the different node levels when serializing an XML document with the methods :toString() or :toXML(). The default indentation is two characters.
Feedback
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.