Table 11-2 summarizes the methods of available through the XPtrLoc
interface.
Table 11-2 Summary of XPtrLoc Methods; Package XPointer
Function | Summary |
---|---|
XmlXPtrLocGetNode
|
Returns Xml node from XPtrLoc .
|
XmlXPtrLocGetPoint
|
Returns Xml point from XPtrLoc .
|
XmlXPtrLocGetRange
|
Returns Xml range from XPtrLoc .
|
XmlXPtrLocGetType
|
Returns type of XPtrLoc .
|
XmlXPtrLocToString
|
Returns string for a location. |
Returns node from location
xmlnode* XmlXPtrLocGetNode( xmlxptrloc* loc);
Parameter | In/Out | Description |
---|---|---|
loc |
IN |
location |
(xmlnode *)
Node
from location
Returns point from location
xmlpoint* XmlXPtrLocGetPoint( xmlxptrloc* loc);
Parameter | In/Out | Description |
---|---|---|
loc |
IN |
location |
(xmlpoint *)
Point from location
Returns range from location.
xmlrange* XmlXPtrLocGetRange( xmlxptrloc* loc);
Parameter | In/Out | Description |
---|---|---|
loc |
IN |
location |
(xmlrange *)
Range from location
Returns type of location
xmlxptrloctype XmlXPtrLocGetType( xmlxptrloc* loc);
Parameter | In/Out | Description |
---|---|---|
loc |
IN |
location |
(xmlxptrloctype)
Type of location
Returns string for a location:
- node name: name of the container node
- names of container nodes: "not a location" otherwise
oratext* XmlXPtrLocToString( xmlxptrloc* loc);
Parameter | In/Out | Description |
---|---|---|
loc |
IN |
location |
(oratext *)
string