prune

Removes a model node and any of its children from the model


Tag Summary
 
required <prune node="value" />
 
full tag <prune node="value" />

Required Attributes
 
node A query expression describing the single node to be removed If multiple nodes meet this criteria then the first node of that collectoin is assumed to be the node that must be removed.

There are no optional attributes
 

Example
 
<prune
        node="/app/workarea" />

This prune tag will search for a node named "workarea" that is a direct child of the high-level node (which must be named "app) in the model. Once found, that node and all of its descendants will be removed from the DOM.


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