Table 11-3 summarizes the methods of available through the XPtrLocSet
interface.
Table 11-3 Summary of XPtrLocSet Methods; Package XPointer
Function | Summary |
---|---|
XmlXPtrLocSetFree
|
Free a location set |
XmlXPtrLocSetGetItem
|
Returns location with idx position in XPtrLocSet
|
XmlXPtrLocSetGetLength
|
Returns length of XPtrLocSet .
|
It is user's responsibility to call this function on every location set returned by XPointer
or XPtrLocSet
interfaces
void XmlXPtrLocSetFree( xmlxptrlocset* locset);
Parameter | In/Out | Description |
---|---|---|
locset |
IN |
location set |
Returns location with idx position in the location set. First position is 1
.
xmlxptrloc* XmlXPtrLocSetGetItem( xmlxptrlocset* locset, ub4 idx);
Parameter | In/Out | Description |
---|---|---|
locset |
IN |
location set |
idx |
IN |
location index |
(xmlxptrloc *)
location with the position idx
Returns the number of locations in the location set
ub4 XmlXPtrLocSetGetLength( xmlxptrlocset* locset);
Parameter | In/Out | Description |
---|---|---|
locset |
IN |
location set |
(ub4)
number of nodes in locset