Macro Language Reference > Macros > Text (Page Level) > ttreedump
  
ttreedump
Description
This macro allows an augmented DOM tree to be saved to a file, in order that the results of the augmentation process may be examined.
* 
This is a feature provided for debugging purposes, and does not guarantee the generated XML content will be reusable.
Syntax
ttreedump ( dom stream:t ',' file name:s ( pretty print:o )? )?
ttreedump
[no parameter]
Invoke the Tree Dump dialog box
dom stream
The name of the stream that is to be exported.
Must be specified in double quotes
filename
The name of the file to which to save the complete tree.
Must be specified in double quotes
pretty print
The whitespace behavior of the exported tree:
0
Add no additional whitespace (default)
1
Display tree on individual lines and indent lines appropriately