| Packages: All | XPointer | Functions | Datatypes |
| Interface | Function | Description |
|---|---|---|
| XPointer | XmlXPointerEval | Evaluates xpointer string |
| XPtrLoc | XmlXPtrLocGetNode | Returns xmlnode from XPtrLoc |
| XPtrLoc | XmlXPtrLocGetPoint | Returns xmlpoint from XPtrLoc |
| XPtrLoc | XmlXPtrLocGetRange | Returns xmlrange from XPtrLoc |
| XPtrLoc | XmlXPtrLocGetType | Returns type of XPtrLoc |
| XPtrLoc | XmlXPtrLocToString | Returns string for a location |
| XPtrLocSet | XmlXPtrLocSetFree | Free a location set |
| XPtrLocSet | XmlXPtrLocSetGetItem | Returns location with idx position in XPtrLocSet |
| XPtrLocSet | XmlXPtrLocSetGetLength | Returns length of XPtrLocSet |
| Function | Description |
|---|---|
| XmlXPointerEval | Evaluates xpointer string |
| Function | Description |
|---|---|
| XmlXPtrLocGetNode | Returns xmlnode from XPtrLoc |
| XmlXPtrLocGetPoint | Returns xmlpoint from XPtrLoc |
| XmlXPtrLocGetRange | Returns xmlrange from XPtrLoc |
| XmlXPtrLocGetType | Returns type of XPtrLoc |
| XmlXPtrLocToString | Returns string for a location |
| Function | Description |
|---|---|
| XmlXPtrLocSetFree | Free a location set |
| XmlXPtrLocSetGetItem | Returns location with idx position in XPtrLocSet |
| XmlXPtrLocSetGetLength | Returns length of XPtrLocSet |
| Name | XmlXPointerEval | ||||||
|---|---|---|---|---|---|---|---|
| Interface | XPointer | ||||||
| Purpose | Evaluates xpointer string | ||||||
| Prototype | xmlxptrlocset* XmlXPointerEval(xmldocnode* doc, oratext* xptrstr); | ||||||
| Arguments |
| ||||||
| Returns | (xmlxptrlocset *) calculated location set | ||||||
| Description | Parses and evaluates xpointer string and calculates locations in
the document
|
| Name | XmlXPtrLocGetNode | |||
|---|---|---|---|---|
| Interface | XPtrLoc | |||
| Purpose | Returns xmlnode from XPtrLoc | |||
| Prototype | xmlnode* XmlXPtrLocGetNode(xmlxptrloc* loc); | |||
| Arguments |
| |||
| Returns | (xmlnode *) Node from location | |||
| Description | Returns node from location
|
| Name | XmlXPtrLocGetPoint | |||
|---|---|---|---|---|
| Interface | XPtrLoc | |||
| Purpose | Returns xmlpoint from XPtrLoc | |||
| Prototype | xmlpoint* XmlXPtrLocGetPoint(xmlxptrloc* loc); | |||
| Arguments |
| |||
| Returns | (xmlpoint *) Point from location | |||
| Description | Returns point from location
|
| Name | XmlXPtrLocGetRange | |||
|---|---|---|---|---|
| Interface | XPtrLoc | |||
| Purpose | Returns xmlrange from XPtrLoc | |||
| Prototype | xmlrange* XmlXPtrLocGetRange(xmlxptrloc* loc); | |||
| Arguments |
| |||
| Returns | (xmlrange *) Range from location | |||
| Description | Returns range from location
|
| Name | XmlXPtrLocGetType | |||
|---|---|---|---|---|
| Interface | XPtrLoc | |||
| Purpose | Returns type of XPtrLoc | |||
| Prototype | xmlxptrloctype XmlXPtrLocGetType(xmlxptrloc* loc); | |||
| Arguments |
| |||
| Returns | (xmlxptrloctype) Type of location | |||
| Description | Returns type of location
|
| Name | XmlXPtrLocToString | |||
|---|---|---|---|---|
| Interface | XPtrLoc | |||
| Purpose | Returns string for a location | |||
| Prototype | oratext* XmlXPtrLocToString(xmlxptrloc* loc); | |||
| Arguments |
| |||
| Returns | (oratext *) string | |||
| Description | Returns string for a location:
- node name
- name of the container node
- names of container nodes
- "not a location" otherwise
|
| Name | XmlXPtrLocSetFree | |||
|---|---|---|---|---|
| Interface | XPtrLocSet | |||
| Purpose | Free a location set | |||
| Prototype | void XmlXPtrLocSetFree(xmlxptrlocset* locset); | |||
| Arguments |
| |||
| Returns | (void) | |||
| Description | It is user reponsibility to call this function on every
location set returned by XPointer or XPtrLocSet interfaces
|
| Name | XmlXPtrLocSetGetItem | ||||||
|---|---|---|---|---|---|---|---|
| Interface | XPtrLocSet | ||||||
| Purpose | Returns location with idx position in XPtrLocSet | ||||||
| Prototype | xmlxptrloc* XmlXPtrLocSetGetItem(xmlxptrlocset* locset, ub4 idx); | ||||||
| Arguments |
| ||||||
| Returns | (xmlxptrloc *) location with the position idx | ||||||
| Description | Returns location with idx position in the location set.
First posistion is 1.
|
| Name | XmlXPtrLocSetGetLength | |||
|---|---|---|---|---|
| Interface | XPtrLocSet | |||
| Purpose | Returns length of XPtrLocSet | |||
| Prototype | ub4 XmlXPtrLocSetGetLength(xmlxptrlocset* locset); | |||
| Arguments |
| |||
| Returns | (ub4) number of nodes in locset | |||
| Description | Returns the number of locations in the location set
|