| Packages: All | Callback | DOM | Range | SAX | Schema | Traversal | XML | XPath | XPointer | XSLT | XSLTVM | Functions | Datatypes |
| Function | Description |
|---|---|
| XmlXPathCreateCtx | Create an XPath context |
| XmlXPathDestroyCtx | Destroy an XPath context |
| XmlXPathEval | Evaluate XPath expression |
| XmlXPathGetObjectBoolean | Get boolean value of XPath object |
| XmlXPathGetObjectFragment | Get fragment value of XPath object |
| XmlXPathGetObjectNSetNode | Get node from nodeset-type XPath object |
| XmlXPathGetObjectNSetNum | Get number of of nodes in nodeset-type XPath object |
| XmlXPathGetObjectNumber | Get number from XPath object |
| XmlXPathGetObjectString | Get string from XPath object |
| XmlXPathGetObjectType | Get XPath object type |
| XmlXPathParse | Parse XPath expression |
| Name | XmlXPathCreateCtx | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Interface | XPath | |||||||||||||||
| Purpose | Create an XPath context | |||||||||||||||
| Prototype | xpctx* XmlXPathCreateCtx(xmlctx *xsl, oratext *baseuri, xmlnode *ctxnode, ub4 ctxpos, ub4 ctxsize); | |||||||||||||||
| Arguments |
| |||||||||||||||
| Returns | (xpctx *) XPath context or NULL on error | |||||||||||||||
| Description | Create an XPath context
|
| Name | XmlXPathDestroyCtx | |||
|---|---|---|---|---|
| Interface | XPath | |||
| Purpose | Destroy an XPath context | |||
| Prototype | void XmlXPathDestroyCtx(xpctx *xslxpctx); | |||
| Arguments |
| |||
| Returns | (void) | |||
| Description | Destroy an XPath context.
|
| Name | XmlXPathEval | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Interface | XPath | |||||||||
| Purpose | Evaluate XPath expression | |||||||||
| Prototype | xpobj *XmlXPathEval(xpctx *xctx, xpexpr *exprtree, xmlerr *err); | |||||||||
| Arguments |
| |||||||||
| Returns | (xpobj *) result XPath object or NULL on error | |||||||||
| Description | Evaluate XPath expression.
|
| Name | XmlXPathGetObjectBoolean | |||
|---|---|---|---|---|
| Interface | XPath | |||
| Purpose | Get boolean value of XPath object | |||
| Prototype | boolean XmlXPathGetObjectBoolean(xpobj *obj); | |||
| Arguments |
| |||
| Returns | (boolean) truth value | |||
| Description | Get boolean value of XPath object
| |||
| See Also | XmlXPathGetObjectType, XmlXPathGetObjectNSetNum, XmlXPathGetObjectNSetNode, XmlXPathGetObjectNumber, XmlXPathGetObjectBoolean |
| Name | XmlXPathGetObjectFragment | |||
|---|---|---|---|---|
| Interface | XPath | |||
| Purpose | Get fragment value of XPath object | |||
| Prototype | xmlnode* XmlXPathGetObjectFragment(xpobj *obj); | |||
| Arguments |
| |||
| Returns | (boolean) truth value | |||
| Description | Get boolean value of XPath object
| |||
| See Also | XmlXPathGetObjectType, XmlXPathGetObjectNSetNum, XmlXPathGetObjectNSetNode, XmlXPathGetObjectNumber, XmlXPathGetObjectBoolean |
| Name | XmlXPathGetObjectNSetNode | ||||||
|---|---|---|---|---|---|---|---|
| Interface | XPath | ||||||
| Purpose | Get node from nodeset-type XPath object | ||||||
| Prototype | xmlnode *XmlXPathGetObjectNSetNode(xpobj *obj, ub4 i); | ||||||
| Arguments |
| ||||||
| Returns | (xmlnode *) The object type or values. | ||||||
| Description | Get node from nodeset-type XPath object
| ||||||
| See Also | XmlXPathGetObjectType, XmlXPathGetObjectNSetNum, XmlXPathGetObjectString, XmlXPathGetObjectNumber, XmlXPathGetObjectBoolean |
| Name | XmlXPathGetObjectNSetNum | |||
|---|---|---|---|---|
| Interface | XPath | |||
| Purpose | Get number of of nodes in nodeset-type XPath object | |||
| Prototype | ub4 XmlXPathGetObjectNSetNum(xpobj *obj); | |||
| Arguments |
| |||
| Returns | (ub4) number of nodes in nodeset | |||
| Description | Get number of of nodes in nodeset-type XPath object
| |||
| See Also | XmlXPathGetObjectType, XmlXPathGetObjectNSetNode, XmlXPathGetObjectString, XmlXPathGetObjectNumber, XmlXPathGetObjectBoolean |
| Name | XmlXPathGetObjectNumber | |||
|---|---|---|---|---|
| Interface | XPath | |||
| Purpose | Get number from XPath object | |||
| Prototype | double XmlXPathGetObjectNumber(xpobj *obj); | |||
| Arguments |
| |||
| Returns | (double) number | |||
| Description | Get number from XPath object
| |||
| See Also | XmlXPathGetObjectType, XmlXPathGetObjectNSetNum, XmlXPathGetObjectNSetNode, XmlXPathGetObjectString, XmlXPathGetObjectBoolean |
| Name | XmlXPathGetObjectString | |||
|---|---|---|---|---|
| Interface | XPath | |||
| Purpose | Get string from XPath object | |||
| Prototype | oratext *XmlXPathGetObjectString(xpobj *obj); | |||
| Arguments |
| |||
| Returns | (oratext *) string | |||
| Description | Get string from XPath object
| |||
| See Also | XmlXPathGetObjectType, XmlXPathGetObjectNSetNum, XmlXPathGetObjectNSetNode, XmlXPathGetObjectNumber, XmlXPathGetObjectBoolean |
| Name | XmlXPathGetObjectType | |||
|---|---|---|---|---|
| Interface | XPath | |||
| Purpose | Get XPath object type | |||
| Prototype | xmlxslobjtype XmlXPathGetObjectType(xpobj *obj); | |||
| Arguments |
| |||
| Returns | (xmlxslobjtype) type-code for object | |||
| Description | Get XPath object type
| |||
| See Also | XmlXPathGetObjectNSetNum, XmlXPathGetObjectNSetNode, XmlXPathGetObjectString, XmlXPathGetObjectNumber, XmlXPathGetObjectBoolean |
| Name | XmlXPathParse | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Interface | XPath | |||||||||
| Purpose | Parse XPath expression | |||||||||
| Prototype | xpexpr* XmlXPathParse(xpctx *xctx, oratext *expr, xmlerr * err); | |||||||||
| Arguments |
| |||||||||
| Returns | (xpexpr *) XPath expression parse tree or NULL on error | |||||||||
| Description | Parse XPath expression.
|