Import line: | libxml2 = imports.gi.libxml2; |
GIR File: | libxml2-2.0.gir |
C documentation: | libxml2XPathContext |
Struct : | XPathContext |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
Create a new libxml2.XPathContext
Create a new libxml2.XPathContext
|
||
Create a new libxml2.XPathContext
Create a new libxml2.XPathContext
|
||
Creates/frees an object cache on the XPath context.
Creates/frees an object cache on the XPath context. If activates XPath objects (xmlXPathObject) will be cached internally to be reused. Returns 0 if the setting succeeded, and -1 on API or internal errors.
|
libxml2.XPathContext | |
XPathCtxtCompile
(Number str)
:
libxml2.XPathCompExpr
Compile an XPath expression Returns the xmlXPathCompExprPtr resulting from the compilation or NULL.
Compile an XPath expression Returns the xmlXPathCompExprPtr resulting from the compilation or NULL. the caller has to free the object.
|
libxml2.XPathContext | |
XPathEvalPredicate
(XPathObject res)
:
Number
Evaluate a predicate result for the current node.
Evaluate a predicate result for the current node. A PredicateExpr is evaluated by evaluating the Expr and converting the result to a boolean. If the result is a number, the result will be converted to true if the number is equal to the position of the context node in the context node list (as returned by the position function) and will be converted to false otherwise; if the result is not a number, then the result will be converted as if by a call to the boolean function. Returns 1 if predicate is true, 0 otherwise
|
libxml2.XPathContext | |
XPathFreeContext
()
:
none
Free up an xmlXPathContext
Free up an xmlXPathContext
|
libxml2.XPathContext | |
XPathFunctionLookup
(Number name)
:
[object Object]
Search in the Function array of the context for the given function.
Search in the Function array of the context for the given function. Returns the xmlXPathFunction or NULL if not found
|
libxml2.XPathContext | |
Search in the Function array of the context for the given function.
Search in the Function array of the context for the given function. Returns the xmlXPathFunction or NULL if not found
|
libxml2.XPathContext | |
Search in the namespace declaration array of the context for the given namespace name associated to the given prefix Returns the value or NULL if not found
|
libxml2.XPathContext | |
XPathRegisterAllFunctions
()
:
none
Registers all default XPath functions in this context
Registers all default XPath functions in this context
|
libxml2.XPathContext | |
libxml2.XPathContext | ||
libxml2.XPathContext | ||
Register a new function.
|
libxml2.XPathContext | |
libxml2.XPathContext | ||
Register a new variable value.
Register a new variable value. If value is NULL it unregisters the variable Returns 0 in case of success, -1 in case of error
|
libxml2.XPathContext | |
libxml2.XPathContext | ||
Register a new variable value.
Register a new variable value. If value is NULL it unregisters the variable Returns 0 in case of success, -1 in case of error
|
libxml2.XPathContext | |
XPathRegisteredFuncsCleanup
()
:
none
Cleanup the XPath context data associated to registered functions
Cleanup the XPath context data associated to registered functions
|
libxml2.XPathContext | |
XPathRegisteredNsCleanup
()
:
none
Cleanup the XPath context data associated to registered variables
Cleanup the XPath context data associated to registered variables
|
libxml2.XPathContext | |
XPathRegisteredVariablesCleanup
()
:
none
Cleanup the XPath context data associated to registered variables
Cleanup the XPath context data associated to registered variables
|
libxml2.XPathContext | |
XPathVariableLookup
(Number name)
:
libxml2.XPathObject
Search in the Variable array of the context for the given variable value.
Search in the Variable array of the context for the given variable value. Returns a copy of the value or NULL if not found
|
libxml2.XPathContext | |
Search in the Variable array of the context for the given variable value.
Search in the Variable array of the context for the given variable value. Returns the a copy of the value or NULL if not found
|
libxml2.XPathContext |
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 |
Evaluate the XPath Location Path in the given context.
|
libxml2.XPathCompExpr
Method |
XPathCompiledEval
(XPathContext ctx)
:
libxml2.XPathObject
Evaluate the Precompiled XPath expression in the given context.
|
libxml2.XPathCompExpr
Method |
XPathCompiledEvalToBoolean
(XPathContext ctxt)
:
Number
Applies the XPath boolean() function on the result of the given compiled expression.
|
libxml2.XPathParserContext
Method |
new libxml2.XPathParserContext.XPathNewParserContext
(Number str, XPathContext ctxt)
:
libxml2.XPathParserContext
Create a new libxml2.XPathParserContext
|