Skip Headers

Oracle® XML API Reference
10g Release 1 (10.1)
Part No. B10789-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents

Previous Next  

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