dump

Writes out the DOM subtree under a specified model node.


Tag Summary
 
required <dump node="value" />
 
full tag <dump node="value" format="value" entities="value" />

Required Attributes
 
node A query expression specifying a single node in the model

Optional Attributes
 
format A true/false value indicating whether the tag should try to write out whitespace to cause the output to be nicely formatted and indented.
entities A true/false value indicating whether characters that can cause XML parsing problems (left and right angle brackets, quotes, apostrophes, etc) should be written as entities (e.g. "%lt;" for the left angle bracket).

Example
 
<dump
        node="/app"
        format="true"
        entities="true" />

This dump tag will write the first level element of the DOM if its name is "app" as well as all of its descendant nodes in the DOM. The output will be formatted for indentation and special XML characters will be written as XML entities.


© Copyright IBM Corporation 2000, 2006. All Rights Reserved.