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. |
Defines XPath compiler identifiers.
typedef enum XPathCompIdType {
XvmXPathCompCXml = 1
} XPathCompIdType;
Defines object types for XPath 1.0 based implementations.
typedef enum XPathObjType {
XPOBJ_TYPE_UNKNOWN = 0,
XPOBJ_TYPE_NDSET = 1,
XPOBJ_TYPE_BOOL = 2,
XPOBJ_TYPE_NUM = 3,
XPOBJ_TYPE_STR = 4
} XPathObjType;
XPath related exception codes.
typedef enum XPathExceptionCode {
XPATH_UNDEFINED_ERR = 0,
XPATH_OTHER_ERR = 1
} XPathExceptionCode;
Defines XPath processor identifiers.
typedef enum XPathPrIdType { XPathPrCXml = 1, XvmPrCXml = 2 } XPathPrIdType;