Skip Headers

Oracle® XML API Reference
10g Release 1 (10.1)

Part Number B10789-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to next page
Next
View PDF

XPtrLoc Interface

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.


XmlXPtrLocGetNode

Returns node from location


Syntax
xmlnode* XmlXPtrLocGetNode(
   xmlxptrloc* loc);

Parameter In/Out Description
loc
IN
location


Returns

(xmlnode *) Node from location


XmlXPtrLocGetPoint

Returns point from location


Syntax
xmlpoint* XmlXPtrLocGetPoint(
   xmlxptrloc* loc);

Parameter In/Out Description
loc
IN
location


Returns

(xmlpoint *) Point from location


XmlXPtrLocGetRange

Returns range from location.


Syntax
xmlrange* XmlXPtrLocGetRange(
   xmlxptrloc* loc);

Parameter In/Out Description
loc
IN
location


Returns

(xmlrange *) Range from location


XmlXPtrLocGetType

Returns type of location


Syntax
xmlxptrloctype XmlXPtrLocGetType(
   xmlxptrloc* loc);

Parameter In/Out Description
loc
IN
location


Returns

(xmlxptrloctype) Type of location


XmlXPtrLocToString

Returns string for a location:

- node name: name of the container node

- names of container nodes: "not a location" otherwise


Syntax
oratext* XmlXPtrLocToString(
   xmlxptrloc* loc);

Parameter In/Out Description
loc
IN
location


Returns

(oratext *) string