Table 8-4 summarizes the methods available through the NodeSet interface.
Table 8-4 Summary of NodeSet Methods; XPath Package
| Function | Summary |
|---|---|
|
Get node given its index. |
|
|
Get |
Returns a reference to the node.
NodeRef< Node>* getNode( ub4 idx) const;
| Parameter | Description |
|---|---|
idx |
index of the node in the set |
(NodeRef) reference to the node
The size of the node set.
ub4 getSize() const;
(ub4) node set size