Sets whether to indent output. When set to True, this property requires output to be indented (or "pretty printed") to reflect the nesting structure of the document.
Note Theindentproperty has a special effect on white space processing when writer output is specified as aDOMDocumentobject. For more information, see Create a DOMDocument Object from SAX Events.
Property Let IMXWriter_indent(ByVal RHS As Boolean) Property Get IMXWriter_indent() As Boolean
oMXXMLWriter.indent = boolValue boolValue = oMXXMLWriter.indent
Read/write. A Boolean expression (True/False) specifying whether the feature is on or off.
[propput] HRESULT indent ( [in] VARIANT_BOOL fIndentMode);
[propget] HRESULT indent ( [out, retval] VARIANT_BOOL * fIndentMode);
The default of this property depends on the implementation. There is no way to detect white space inside an internal document type definition (DTD). Therefore, DTDs are always indented.
| Value | Description |
|---|---|
| True | Provide white space for formatting. |
| False | No additional indenting requirement. |
The XSLProcessor object implements the indent property as follows:
<xsl:output> element within a XSLT style sheet assigned to the processor.<xsl:output> element in the XSLT style sheet assigned to the processor. If the output method is HTML, then the default setting is VARIANT_TRUE. If the output method is XML, then the default setting is VARIANT_FALSE. Note that if the output method is unspecified, the processor cannot know until run time what the true setting will be. Therefore, the probable default will be VARIANT_FALSE.To view reference information for Visual Basic or C/C++ only, click the Language Filter button
in the upper-left corner of the page.
MXHTMLWriter CoClass | MXXMLWriter CoClass
Applies to: IMXWriter Interface