RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IXMLDocument.NodeIndentStr Property

Indicates the string that is inserted before nested nodes in the formatted XML text.

Pascal
property NodeIndentStr: DOMString;
C++
__property DOMString NodeIndentStr;

Use NodeIndentStr to customize how the document formats nodes that are added. When the Options property includes doNodeAutoIndent, this string is inserted in the generated XML before any newly added node, once for each nesting level. 

If you do not assign a value to NodeIndentStr, IXMLDocument inserts two spaces to represent each nesting level. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!