Skip Headers

Oracle® XML API Reference
10g Release 1 (10.1)
Part No. B10789-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents

Previous Next  

NodeFilter Interface

Table 8-2 summarizes the methods of available through the NodeFilter interface.

Table 8-2 Summary of NodeFilter Methods; Traversal Package

Function Summary
XMLDOM_ACCEPT_NODE_F
Perform user-defined filtering action on node.


XMLDOM_ACCEPT_NODE_F

Sole method of NodeFilter interface. Given a node and a filter, determines the filtering action to perform.

This function pointer is passed to the node iterator/tree walker methods, as needed.

Values for xmlerr are:


Syntax
#define XMLDOM_ACCEPT_NODE_F(func, xctx, node)
xmlerr func(
   xmlctx *xctx,
   xmlnode *node)

Parameter In/Out Description
xctx
IN
XML context
node
IN
node to test


Returns

(xmlerr) filtering result