Skip Headers

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

## NodeFilter Interface

Table 15-18 summarizes the methods of available through NodeFilter interface.

Table 15-18 Summary of NodeFilter Methods; Dom Package

Function | Summary
--- | ---
acceptNode | Execute it for a given node and use its return value.

### acceptNode

This function is used as a test by NodeIterator and `TreeWalker`.

Syntax

    template< typename Node> AcceptNodeCode AcceptNode(
       NodeRef< Node>& nref);

Parameter | Description
--- | ---
    nref
| reference to the node to be tested.

Returns

`(AcceptNodeCode)` result returned by the filter function