|
libxml2
|
XPointer framework and schemes. More...
Functions | |
| xmlXPathContext * | xmlXPtrNewContext (xmlDoc *doc, xmlNode *here, xmlNode *origin) |
| Create a new XPointer context. | |
| xmlXPathObject * | xmlXPtrEval (const xmlChar *str, xmlXPathContext *ctx) |
| Evaluate an XPointer expression. | |
XPointer framework and schemes.
API to evaluate XPointer expressions. The following schemes are supported:
xpointer() is an alias for the xpath1() scheme. The point and range extensions are not supported.
| xmlXPathObject * xmlXPtrEval | ( | const xmlChar * | str, |
| xmlXPathContext * | ctx ) |
Evaluate an XPointer expression.
This function can only return nodesets. The caller has to free the object.
| str | an XPointer expression |
| ctx | an XPath context |
| xmlXPathContext * xmlXPtrNewContext | ( | xmlDoc * | doc, |
| xmlNode * | here, | ||
| xmlNode * | origin ) |
Create a new XPointer context.
| doc | the XML document |
| here | unused |
| origin | unused |