Xml.XMLDoc.TXMLDocument.NodeIndentStr
Delphi
property NodeIndentStr: DOMString read GetNodeIndentStr write SetNodeIndentStr stored NodeIndentStored;
C++
__property System::UnicodeString NodeIndentStr = {read=GetNodeIndentStr, write=SetNodeIndentStr, stored=NodeIndentStored};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Xml.XMLDoc.pas Xml.XMLDoc.hpp |
Xml.XMLDoc | TXMLDocument |
Description
Indicates the string that is inserted before nested nodes in the formatted XML text.
Use NodeIndentStr to customize how TXMLDocument 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, TXMLDocument inserts two spaces to represent each nesting level.