Import line: | libxml2 = imports.gi.libxml2; |
GIR File: | libxml2-2.0.gir |
C documentation: | libxml2XPathObject |
Struct : | XPathObject |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
boolval : Number
|
libxml2.XPathObject | |
floatval : Number
|
libxml2.XPathObject | |
index : Number
|
libxml2.XPathObject | |
index2 : Number
|
libxml2.XPathObject | |
nodesetval : libxml2.NodeSet
|
libxml2.XPathObject | |
stringval : Number
|
libxml2.XPathObject | |
type : libxml2.XPathObjectType
|
libxml2.XPathObject | |
user : void*
|
libxml2.XPathObject | |
user2 : void*
|
libxml2.XPathObject |
Method / Constructor | Defined By | |
---|---|---|
new libxml2.XPathObject
()
Create a new libxml2.XPathObject
Create a new libxml2.XPathObject
|
||
Create a new libxml2.XPathObject
Create a new libxml2.XPathObject
|
||
Create a new libxml2.XPathObject
Create a new libxml2.XPathObject
|
||
Create a new libxml2.XPathObject
Create a new libxml2.XPathObject
|
||
Create a new libxml2.XPathObject
Create a new libxml2.XPathObject
|
||
Create a new libxml2.XPathObject
Create a new libxml2.XPathObject
|
||
Create a new libxml2.XPathObject
Create a new libxml2.XPathObject
|
||
Create a new libxml2.XPathObject
Create a new libxml2.XPathObject
|
||
Create a new libxml2.XPathObject
Create a new libxml2.XPathObject
|
||
Create a new libxml2.XPathObject
Create a new libxml2.XPathObject
|
||
Create a new libxml2.XPathObject
Create a new libxml2.XPathObject
|
||
new libxml2.XPathObject.XPtrNewRange
(Node start, Number startindex, Node end, Number endindex)
:
libxml2.XPathObject
Create a new libxml2.XPathObject
Create a new libxml2.XPathObject
|
||
Create a new libxml2.XPathObject
Create a new libxml2.XPathObject
|
||
Create a new libxml2.XPathObject
Create a new libxml2.XPathObject
|
||
Create a new libxml2.XPathObject
Create a new libxml2.XPathObject
|
||
Create a new libxml2.XPathObject
Create a new libxml2.XPathObject
|
||
new libxml2.XPathObject.XPtrNewRangePoints
(XPathObject start, XPathObject end)
:
libxml2.XPathObject
Create a new libxml2.XPathObject
Create a new libxml2.XPathObject
|
||
Copy
()
:
libxml2.XPathObject
allocate a new copy of a given object Returns the newly created object.
allocate a new copy of a given object Returns the newly created object.
|
libxml2.XPathObject | |
XPathCastToBoolean
()
:
Number
Converts an XPath object to its boolean value Returns the boolean value
Converts an XPath object to its boolean value Returns the boolean value
|
libxml2.XPathObject | |
XPathCastToNumber
()
:
Number
Converts an XPath object to its number value Returns the number value
Converts an XPath object to its number value Returns the number value
|
libxml2.XPathObject | |
XPathCastToString
()
:
Number
Converts an existing object to its string() equivalent Returns the allocated string value of the object, NULL in case of error.
Converts an existing object to its string() equivalent Returns the allocated string value of the object, NULL in case of error. It's up to the caller to free the string memory with xmlFree().
|
libxml2.XPathObject | |
XPathConvertBoolean
()
:
libxml2.XPathObject
Converts an existing object to its boolean() equivalent Returns the new object, the old one is freed (or the operation is done directly on val)
Converts an existing object to its boolean() equivalent Returns the new object, the old one is freed (or the operation is done directly on val)
|
libxml2.XPathObject | |
XPathConvertNumber
()
:
libxml2.XPathObject
Converts an existing object to its number() equivalent Returns the new object, the old one is freed (or the operation is done directly on val)
Converts an existing object to its number() equivalent Returns the new object, the old one is freed (or the operation is done directly on val)
|
libxml2.XPathObject | |
XPathConvertString
()
:
libxml2.XPathObject
Converts an existing object to its string() equivalent Returns the new object, the old one is freed (or the operation is done directly on val)
Converts an existing object to its string() equivalent Returns the new object, the old one is freed (or the operation is done directly on val)
|
libxml2.XPathObject | |
XPathFreeNodeSetList
()
:
none
Free up the xmlXPathObjectPtr obj but don't deallocate the objects in the list contrary to xmlXPathFreeObject().
Free up the xmlXPathObjectPtr obj but don't deallocate the objects in the list contrary to xmlXPathFreeObject().
|
libxml2.XPathObject | |
XPathFreeObject
()
:
none
Free up an xmlXPathObjectPtr object.
Free up an xmlXPathObjectPtr object.
|
libxml2.XPathObject | |
XPtrBuildNodeList
()
:
libxml2.Node
Build a node list tree copy of the XPointer result.
Build a node list tree copy of the XPointer result. This will drop Attributes and Namespace declarations. Returns an xmlNodePtr list or NULL. the caller has to free the node tree.
|
libxml2.XPathObject | |
XPtrLocationSetCreate
()
:
libxml2.LocationSet
Create a new xmlLocationSetPtr of type double and of value val Returns the newly created object.
Create a new xmlLocationSetPtr of type double and of value val Returns the newly created object.
|
libxml2.XPathObject |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
libxml2
Method |
Evaluate the XPath Location Path in the given context.
|
libxml2
Method |
Evaluate the XPath expression in the given context.
|
libxml2
Method |
Wraps a string into an XPath object.
|
libxml2
Method |
Wraps the val data into an XPath object.
|
libxml2
Method |
Wraps the val string into an XPath object.
|
libxml2
Method |
Evaluate the XPath Location Path in the given context.
|
libxml2.LocationSet
Method |
XPtrLocationSetAdd
(XPathObject val)
:
none
add a new xmlXPathObjectPtr to an existing LocationSet If the location already exist in the set val is freed.
|
libxml2.LocationSet
Method |
XPtrWrapLocationSet
()
:
libxml2.XPathObject
Wrap the LocationSet val in a new xmlXPathObjectPtr Returns the newly created object.
|
libxml2.LocationSet
Method |
XPtrLocationSetDel
(XPathObject val)
:
none
Removes an xmlXPathObjectPtr from an existing LocationSet
|
libxml2.NodeSet
Method |
XPathWrapNodeSet
()
:
libxml2.XPathObject
Wrap the Nodeset val in a new xmlXPathObjectPtr Returns the newly created object.
|
libxml2.XPathCompExpr
Method |
XPathCompiledEval
(XPathContext ctx)
:
libxml2.XPathObject
Evaluate the Precompiled XPath expression in the given context.
|
libxml2.XPathContext
Method |
XPathEvalPredicate
(XPathObject res)
:
Number
Evaluate a predicate result for the current node.
|
libxml2.XPathContext
Method |
Register a new variable value.
|
libxml2.XPathContext
Method |
Register a new variable value.
|
libxml2.XPathContext
Method |
XPathVariableLookup
(Number name)
:
libxml2.XPathObject
Search in the Variable array of the context for the given variable value.
|
libxml2.XPathContext
Method |
Search in the Variable array of the context for the given variable value.
|
libxml2.XPathParserContext
Method |
valuePop
()
:
libxml2.XPathObject
Pops the top XPath object from the value stack Returns the XPath object just removed
|
libxml2.XPathParserContext
Method |
valuePush
(XPathObject value)
:
Number
Pushes a new XPath object on top of the value stack returns the number of items on the value stack
|
libxml2.XPathParserContext
Method |
XPathEvaluatePredicateResult
(XPathObject res)
:
Number
Evaluate a predicate result for the current node.
|