Xml.XMLIntf.IXMLDocument.NodeIndentStr
Delphi
property NodeIndentStr: DOMString read GetNodeIndentStr write SetNodeIndentStr;
C++
__property System::UnicodeString NodeIndentStr = {read=GetNodeIndentStr, write=SetNodeIndentStr};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
property | public | Xml.XMLIntf.pas Xml.XMLIntf.hpp |
Xml.XMLIntf | IXMLDocument |
Description
Indique la chaîne insérée avant les noeuds imbriqués dans le texte XML formaté.
Utilisez NodeIndentStr pour personnaliser la façon dont le document formate les noeuds ajoutés. Lorsque la propriété Options comprend doNodeAutoIndent, cette chaîne est insérée dans le XML généré avant tout noeud récemment ajouté, pour chaque niveau d'imbrication.
Si vous n'affectez pas une valeur à NodeIndentStr, IXMLDocument insère deux espaces pour représenter chaque niveau d'imbrication.