Skip Headers

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

## XPath Datatypes

Table 20-1 summarizes the datatypes of the `XPath` package.

Table 20-1 Summary of Datatypes; XPath Package

Datatype | Description
--- | ---
XPathCompIdType | Defines XPath compiler identifiers.
XPathObjType | Defines object types for XPath 1.0 based implementations.
XPathExceptionCode | XPath related exception codes.
XPathPrIdType | Defines XPath processor identifiers.

### XPathCompIdType

Defines XPath compiler identifiers.

Definition

    typedef enum XPathCompIdType {
       XvmXPathCompCXml = 1
    } XPathCompIdType;

### XPathObjType

Defines object types for XPath 1.0 based implementations.

Definition

    typedef enum XPathObjType {
       XPOBJ_TYPE_UNKNOWN = 0,
       XPOBJ_TYPE_NDSET   = 1,
       XPOBJ_TYPE_BOOL    = 2,
       XPOBJ_TYPE_NUM     = 3,
       XPOBJ_TYPE_STR     = 4
    } XPathObjType;

### XPathExceptionCode

XPath related exception codes.

Definition

    typedef enum XPathExceptionCode {
       XPATH_UNDEFINED_ERR = 0,
       XPATH_OTHER_ERR = 1
    } XPathExceptionCode;

### XPathPrIdType

Defines XPath processor identifiers.

Definition

    typedef enum XPathPrIdType {      XPathPrCXml       = 1,      XvmPrCXml         = 2    } XPathPrIdType;