setindentmode
setindentmode |
Purpose
Synopsis
procedure setindentmode(doc:xmldoc, imod:integer)
Arguments
doc
|
Document to use
|
||||||
imod
|
Indent mode:
|
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