Initializing help system before first use

setindentmode

setindentmode


Purpose
Set indent mode for the document.
Synopsis
procedure setindentmode(doc:xmldoc, imod:integer)
Arguments
doc 
Document to use
imod 
Indent mode:
XML_AUTO 
automatic indentation
XML_NONE 
no formatting
XML_MANUAL 
use vertical/horizontal spacing of each node
Example
See sethspace.
Further information
This parameter specifies how the XML document must be formatted by the save routine. Automatic indentation can be tuned by redefining the indent skip ( setindentskip) and line length ( setlinelen). If the indent mode is set to XML_NONE, the document is exported on a single line without formatting. Finally, with manual indenting, each node is placed according to its horizontal/vertical spacing as specified by setvspace and sethspace.
Related topics
Module