Details
>struct xmlLocationSet
struct xmlLocationSet {
int locNr; /* number of locations in the set */
int locMax; /* size of the array as allocated */
xmlXPathObjectPtr *locTab;/* array of locations */
}; |
>xmlLocationSetPtr
typedef xmlLocationSet *xmlLocationSetPtr; |
>xmlXPtrLocationSetCreate ()
Create a new xmlLocationSetPtr of type double and of value val
>xmlXPtrFreeLocationSet ()
Free the LocationSet compound (not the actual ranges !).
>xmlXPtrLocationSetMerge ()
Merges two rangesets, all ranges from val2 are added to val1
>xmlXPtrNewRange ()
Create a new xmlXPathObjectPtr of type range
>xmlXPtrNewRangePoints ()
Create a new xmlXPathObjectPtr of type range using 2 Points
>xmlXPtrNewRangeNodePoint ()
Create a new xmlXPathObjectPtr of type range from a node to a point
>xmlXPtrNewRangePointNode ()
Create a new xmlXPathObjectPtr of type range from a point to a node
>xmlXPtrNewRangeNodes ()
Create a new xmlXPathObjectPtr of type range using 2 nodes
>xmlXPtrNewLocationSetNodes ()
Create a new xmlXPathObjectPtr of type LocationSet and initialize
it with the single range made of the two nodes start and end
>xmlXPtrNewLocationSetNodeSet ()
Create a new xmlXPathObjectPtr of type LocationSet and initialize
it with all the nodes from set
>xmlXPtrNewRangeNodeObject ()
Create a new xmlXPathObjectPtr of type range from a not to an object
>xmlXPtrNewCollapsedRange ()
Create a new xmlXPathObjectPtr of type range using a single nodes
>xmlXPtrLocationSetAdd ()
add a new xmlXPathObjectPtr to an existing LocationSet
If the location already exist in the set val is freed.
>xmlXPtrWrapLocationSet ()
Wrap the LocationSet val in a new xmlXPathObjectPtr
>xmlXPtrLocationSetDel ()
Removes an xmlXPathObjectPtr from an existing LocationSet
>xmlXPtrLocationSetRemove ()
Removes an entry from an existing LocationSet list.
>xmlXPtrNewContext ()
Create a new XPointer context
>xmlXPtrEval ()
Evaluate the XPath Location Path in the given context.
>xmlXPtrRangeToFunction ()
Implement the range-to() XPointer function
>xmlXPtrBuildNodeList ()
Build a node list tree copy of the XPointer result.
This will drop Attributes and Namespace declarations.
>xmlXPtrEvalRangePredicate ()
[8] Predicate ::= '[' PredicateExpr ']'
[9] PredicateExpr ::= Expr
Evaluate a predicate as in xmlXPathEvalPredicate() but for
a Location Set instead of a node set