newNode

Creates a new node in the model.


Tag Summary
 
required <newNode node="value" name="value" />
 
full tag <newNode node="value" name="value" useName="value" />

Required Attributes
 
node A query expression that describes a single node in the model that will be the parent for the new model node. If several nodes are returned for this expression, then the first of those nodes is assumed to be the desired node.
name The name of the new node.

Optional Attributes
 
useName A name to be associated with the new node. Subsequent DPTK tags can refer to the new node using this variable name.

Example
 
<newNode
        node="/app/workarea"
        name="business-object"
        useName="current" />

This newNode tag will find the first (or only) node named "workarea" that is a child of the high-level model node (which should be named "app"). This node named "workarea" will be the parent for a new model node. That new node, to be named "business-object" will be associated with variable name "current".


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