Compartir a través de


XmlWriterProperty_Indent

 

Specifies whether to indent appropriate nodes in the XML output. The type of this property is Boolean.

Default Value

FALSE

Remarks

This property can be set and retrieved by using the IXmlReader::SetProperty and IXmlReader::GetProperty methods.

When this property is set to TRUE, each level of indentation is two spaces.

IXmlWriter only indents the following types of nodes; all other node types are not indented.

  • DocumentType

  • Element

  • Comment

  • ProcessingInstruction

  • CDATASection

Note that the internal subset of the Document Type Definition (DTD) has no indentation or formatting.

Requirements

Header: XmlLite.h

Library: XmlLite.lib

See Also

IXmlWriter Properties