Associates a variable name with a node.
Tag Summary | |
---|---|
required |
<useNode node="value" name="value" /> |
full tag |
<useNode node="value" name="value" /> |
Required Attributes |
|
---|---|
node | A query expression specifying a single node. If multiple nodes are returned by the query expression the the first node in that collection is associated with the variable name. |
name | The variable name to associate with the specified node. |
There are no optional attributes |
---|
Example | |
---|---|
<useNode node="/model/identity" name="identity" /> This useNode tag will find the first child named "identity" of the first level node named "model" and assign to that node the variable name "identity". Subsequent tags can refer to that node using the name "identity". |
© Copyright IBM Corporation 2000,
2006. All Rights Reserved.