Skip Headers

Oracle® XML API Reference 10g Release 1 (10.1) Part No. B10789-01 |
| Contents

## NodeSet Interface

Table 20-4 summarizes the methods of available through the `NodeSet` interface.

Table 20-4 Summary of NodeSet Methods; XPath Package

Function | Summary
--- | ---
getNode | Get node given its index.
getSize | Get `NodeSet` size.

### getNode

Returns a reference to the node.

Syntax

    NodeRef< Node>* getNode(
       ub4 idx) const;

Parameter | Description
--- | ---
    idx
| index of the node in the set

Returns

`(NodeRef)` reference to the node

### getSize

The size of the node set.

Syntax

    ub4 getSize() const;

Returns

`(ub4)` node set size