|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="SHORTCUT ICON" href="/favicon.ico" /><style type="text/css">
|
|
Packit Service |
a31ea6 |
TD {font-family: Verdana,Arial,Helvetica}
|
|
Packit Service |
a31ea6 |
BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; margin-right: 0em}
|
|
Packit Service |
a31ea6 |
H1 {font-family: Verdana,Arial,Helvetica}
|
|
Packit Service |
a31ea6 |
H2 {font-family: Verdana,Arial,Helvetica}
|
|
Packit Service |
a31ea6 |
H3 {font-family: Verdana,Arial,Helvetica}
|
|
Packit Service |
a31ea6 |
A:link, A:visited, A:active { text-decoration: underline }
|
|
Packit Service |
a31ea6 |
</style><style type="text/css">
|
|
Packit Service |
a31ea6 |
div.deprecated pre.programlisting {border-style: double;border-color:red}
|
|
Packit Service |
a31ea6 |
pre.programlisting {border-style: double;background: #EECFA1}
|
|
Packit Service |
a31ea6 |
</style><title>Module xpathInternals from libxml2</title></head><body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000">![Action against software patents](../epatents.png) | ![Gnome2 Logo](../gnome2.png) ![W3C Logo](../w3c.png) ![Red Hat Logo](../redhat.gif) | Module xpathInternals from libxml2 |
|
|
<center>API Menu</center> | <form action="../search.php" enctype="application/x-www-form-urlencoded" method="get"><input name="query" type="text" size="20" value="" /><input name="submit" type="submit" value="Search ..." /></form> |
<center>API Indexes</center> | |
<center>Related links</center> | |
|
| |
|
|
|
Packit Service |
a31ea6 |
int valuePush (xmlXPathParserContextPtr ctxt, xmlXPathObjectPtr value)
|
|
Packit Service |
a31ea6 |
void xmlXPathAddValues (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
void xmlXPathBooleanFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
void xmlXPathCeilingFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
int xmlXPathCompareValues (xmlXPathParserContextPtr ctxt, int inf, int strict)
|
|
Packit Service |
a31ea6 |
void xmlXPathConcatFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
void xmlXPathContainsFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
void xmlXPathCountFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
void xmlXPathDebugDumpCompExpr (FILE * output, xmlXPathCompExprPtr comp, int depth)
|
|
Packit Service |
a31ea6 |
void xmlXPathDebugDumpObject (FILE * output, xmlXPathObjectPtr cur, int depth)
|
|
Packit Service |
a31ea6 |
xmlNodeSetPtr xmlXPathDifference (xmlNodeSetPtr nodes1, xmlNodeSetPtr nodes2)
|
|
Packit Service |
a31ea6 |
xmlNodeSetPtr xmlXPathDistinct (xmlNodeSetPtr nodes)
|
|
Packit Service |
a31ea6 |
xmlNodeSetPtr xmlXPathDistinctSorted (xmlNodeSetPtr nodes)
|
|
Packit Service |
a31ea6 |
void xmlXPathDivValues (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
int xmlXPathEqualValues (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
void xmlXPathErr (xmlXPathParserContextPtr ctxt, int error)
|
|
Packit Service |
a31ea6 |
void xmlXPathEvalExpr (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
int xmlXPathEvaluatePredicateResult (xmlXPathParserContextPtr ctxt, xmlXPathObjectPtr res)
|
|
Packit Service |
a31ea6 |
void xmlXPathFalseFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
void xmlXPathFloorFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
void xmlXPathFreeParserContext (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
xmlXPathFunction xmlXPathFunctionLookup (xmlXPathContextPtr ctxt, const xmlChar * name)
|
|
Packit Service |
a31ea6 |
xmlXPathFunction xmlXPathFunctionLookupNS (xmlXPathContextPtr ctxt, const xmlChar * name, const xmlChar * ns_uri)
|
|
Packit Service |
a31ea6 |
int xmlXPathHasSameNodes (xmlNodeSetPtr nodes1, xmlNodeSetPtr nodes2)
|
|
Packit Service |
a31ea6 |
void xmlXPathIdFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
xmlNodeSetPtr xmlXPathIntersection (xmlNodeSetPtr nodes1, xmlNodeSetPtr nodes2)
|
|
Packit Service |
a31ea6 |
int xmlXPathIsNodeType (const xmlChar * name)
|
|
Packit Service |
a31ea6 |
void xmlXPathLangFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
void xmlXPathLastFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
xmlNodeSetPtr xmlXPathLeading (xmlNodeSetPtr nodes1, xmlNodeSetPtr nodes2)
|
|
Packit Service |
a31ea6 |
xmlNodeSetPtr xmlXPathLeadingSorted (xmlNodeSetPtr nodes1, xmlNodeSetPtr nodes2)
|
|
Packit Service |
a31ea6 |
void xmlXPathLocalNameFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
void xmlXPathModValues (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
void xmlXPathMultValues (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
void xmlXPathNamespaceURIFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
xmlXPathObjectPtr xmlXPathNewBoolean (int val)
|
|
Packit Service |
a31ea6 |
xmlXPathObjectPtr xmlXPathNewCString (const char * val)
|
|
Packit Service |
a31ea6 |
xmlXPathObjectPtr xmlXPathNewFloat (double val)
|
|
Packit Service |
a31ea6 |
xmlXPathObjectPtr xmlXPathNewNodeSet (xmlNodePtr val)
|
|
Packit Service |
a31ea6 |
xmlXPathObjectPtr xmlXPathNewNodeSetList (xmlNodeSetPtr val)
|
|
Packit Service |
a31ea6 |
xmlXPathParserContextPtr xmlXPathNewParserContext (const xmlChar * str, xmlXPathContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
xmlXPathObjectPtr xmlXPathNewString (const xmlChar * val)
|
|
Packit Service |
a31ea6 |
xmlXPathObjectPtr xmlXPathNewValueTree (xmlNodePtr val)
|
|
Packit Service |
a31ea6 |
xmlNodePtr xmlXPathNextAncestor (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
xmlNodePtr xmlXPathNextAncestorOrSelf (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
xmlNodePtr xmlXPathNextAttribute (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
xmlNodePtr xmlXPathNextChild (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
xmlNodePtr xmlXPathNextDescendant (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
xmlNodePtr xmlXPathNextDescendantOrSelf (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
xmlNodePtr xmlXPathNextFollowing (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
xmlNodePtr xmlXPathNextFollowingSibling (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
xmlNodePtr xmlXPathNextNamespace (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
xmlNodePtr xmlXPathNextParent (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
xmlNodePtr xmlXPathNextPreceding (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
xmlNodePtr xmlXPathNextPrecedingSibling (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
xmlNodePtr xmlXPathNextSelf (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
xmlNodeSetPtr xmlXPathNodeLeading (xmlNodeSetPtr nodes, xmlNodePtr node)
|
|
Packit Service |
a31ea6 |
xmlNodeSetPtr xmlXPathNodeLeadingSorted (xmlNodeSetPtr nodes, xmlNodePtr node)
|
|
Packit Service |
a31ea6 |
int xmlXPathNodeSetAdd (xmlNodeSetPtr cur, xmlNodePtr val)
|
|
Packit Service |
a31ea6 |
int xmlXPathNodeSetAddNs (xmlNodeSetPtr cur, xmlNodePtr node, xmlNsPtr ns)
|
|
Packit Service |
a31ea6 |
int xmlXPathNodeSetAddUnique (xmlNodeSetPtr cur, xmlNodePtr val)
|
|
Packit Service |
a31ea6 |
int xmlXPathNodeSetContains (xmlNodeSetPtr cur, xmlNodePtr val)
|
|
Packit Service |
a31ea6 |
void xmlXPathNodeSetDel (xmlNodeSetPtr cur, xmlNodePtr val)
|
|
Packit Service |
a31ea6 |
void xmlXPathNodeSetFreeNs (xmlNsPtr ns)
|
|
Packit Service |
a31ea6 |
xmlNodeSetPtr xmlXPathNodeSetMerge (xmlNodeSetPtr val1, xmlNodeSetPtr val2)
|
|
Packit Service |
a31ea6 |
void xmlXPathNodeSetRemove (xmlNodeSetPtr cur, int val)
|
|
Packit Service |
a31ea6 |
void xmlXPathNodeSetSort (xmlNodeSetPtr set)
|
|
Packit Service |
a31ea6 |
xmlNodeSetPtr xmlXPathNodeTrailing (xmlNodeSetPtr nodes, xmlNodePtr node)
|
|
Packit Service |
a31ea6 |
xmlNodeSetPtr xmlXPathNodeTrailingSorted (xmlNodeSetPtr nodes, xmlNodePtr node)
|
|
Packit Service |
a31ea6 |
void xmlXPathNormalizeFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
int xmlXPathNotEqualValues (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
void xmlXPathNotFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
const xmlChar * xmlXPathNsLookup (xmlXPathContextPtr ctxt, const xmlChar * prefix)
|
|
Packit Service |
a31ea6 |
void xmlXPathNumberFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
xmlChar * xmlXPathParseNCName (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
xmlChar * xmlXPathParseName (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
int xmlXPathPopBoolean (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
void * xmlXPathPopExternal (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
xmlNodeSetPtr xmlXPathPopNodeSet (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
double xmlXPathPopNumber (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
xmlChar * xmlXPathPopString (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
void xmlXPathPositionFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
void xmlXPathRegisterAllFunctions (xmlXPathContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
int xmlXPathRegisterFunc (xmlXPathContextPtr ctxt, const xmlChar * name, xmlXPathFunction f)
|
|
Packit Service |
a31ea6 |
void xmlXPathRegisterFuncLookup (xmlXPathContextPtr ctxt, xmlXPathFuncLookupFunc f, void * funcCtxt)
|
|
Packit Service |
a31ea6 |
int xmlXPathRegisterFuncNS (xmlXPathContextPtr ctxt, const xmlChar * name, const xmlChar * ns_uri, xmlXPathFunction f)
|
|
Packit Service |
a31ea6 |
int xmlXPathRegisterNs (xmlXPathContextPtr ctxt, const xmlChar * prefix, const xmlChar * ns_uri)
|
|
Packit Service |
a31ea6 |
int xmlXPathRegisterVariable (xmlXPathContextPtr ctxt, const xmlChar * name, xmlXPathObjectPtr value)
|
|
Packit Service |
a31ea6 |
void xmlXPathRegisterVariableLookup (xmlXPathContextPtr ctxt, xmlXPathVariableLookupFunc f, void * data)
|
|
Packit Service |
a31ea6 |
int xmlXPathRegisterVariableNS (xmlXPathContextPtr ctxt, const xmlChar * name, const xmlChar * ns_uri, xmlXPathObjectPtr value)
|
|
Packit Service |
a31ea6 |
void xmlXPathRegisteredFuncsCleanup (xmlXPathContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
void xmlXPathRegisteredNsCleanup (xmlXPathContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
void xmlXPathRegisteredVariablesCleanup (xmlXPathContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
void xmlXPathRoot (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
void xmlXPathRoundFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
void xmlXPathStartsWithFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
double xmlXPathStringEvalNumber (const xmlChar * str)
|
|
Packit Service |
a31ea6 |
void xmlXPathStringFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
void xmlXPathStringLengthFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
void xmlXPathSubValues (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
void xmlXPathSubstringAfterFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
void xmlXPathSubstringBeforeFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
void xmlXPathSubstringFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
void xmlXPathSumFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
xmlNodeSetPtr xmlXPathTrailing (xmlNodeSetPtr nodes1, xmlNodeSetPtr nodes2)
|
|
Packit Service |
a31ea6 |
xmlNodeSetPtr xmlXPathTrailingSorted (xmlNodeSetPtr nodes1, xmlNodeSetPtr nodes2)
|
|
Packit Service |
a31ea6 |
void xmlXPathTranslateFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
void xmlXPathTrueFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
void xmlXPathValueFlipSign (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
xmlXPathObjectPtr xmlXPathVariableLookup (xmlXPathContextPtr ctxt, const xmlChar * name)
|
|
Packit Service |
a31ea6 |
xmlXPathObjectPtr xmlXPathVariableLookupNS (xmlXPathContextPtr ctxt, const xmlChar * name, const xmlChar * ns_uri)
|
|
Packit Service |
a31ea6 |
xmlXPathObjectPtr xmlXPathWrapCString (char * val)
|
|
Packit Service |
a31ea6 |
xmlXPathObjectPtr xmlXPathWrapExternal (void * val)
|
|
Packit Service |
a31ea6 |
xmlXPathObjectPtr xmlXPathWrapNodeSet (xmlNodeSetPtr val)
|
|
Packit Service |
a31ea6 |
xmlXPathObjectPtr xmlXPathWrapString (xmlChar * val)
|
|
Packit Service |
a31ea6 |
void xmlXPatherror (xmlXPathParserContextPtr ctxt, const char * file, int line, int no)
|
|
Packit Service |
a31ea6 |
Description
|
|
Packit Service |
a31ea6 |
Macro: CAST_TO_BOOLEAN#define CAST_TO_BOOLEAN Macro to try to cast the value on the top of the XPath stack to a boolean.
|
|
Packit Service |
a31ea6 |
Macro: CAST_TO_NUMBER#define CAST_TO_NUMBER Macro to try to cast the value on the top of the XPath stack to a number.
|
|
Packit Service |
a31ea6 |
Macro: CAST_TO_STRING#define CAST_TO_STRING Macro to try to cast the value on the top of the XPath stack to a string.
|
|
Packit Service |
a31ea6 |
Macro: CHECK_ARITY#define CHECK_ARITY Macro to check that the number of args passed to an XPath function matches.
|
|
Packit Service |
a31ea6 |
Macro: CHECK_ERROR#define CHECK_ERROR Macro to return from the function if an XPath error was detected.
|
|
Packit Service |
a31ea6 |
Macro: CHECK_ERROR0#define CHECK_ERROR0 Macro to return 0 from the function if an XPath error was detected.
|
|
Packit Service |
a31ea6 |
Macro: CHECK_TYPE#define CHECK_TYPE Macro to check that the value on top of the XPath stack is of a given type.
|
|
Packit Service |
a31ea6 |
Macro: CHECK_TYPE0#define CHECK_TYPE0 Macro to check that the value on top of the XPath stack is of a given type. Return(0) in case of failure
|
|
Packit Service |
a31ea6 |
Macro: XP_ERROR#define XP_ERROR Macro to raise an XPath error and return.
|
|
Packit Service |
a31ea6 |
Macro: XP_ERROR0#define XP_ERROR0 Macro to raise an XPath error and return 0.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathCheckError#define xmlXPathCheckError Check if an XPath error was raised. Returns true if an error has been raised, false otherwise.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathEmptyNodeSet#define xmlXPathEmptyNodeSet Empties a node-set.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathGetContextNode#define xmlXPathGetContextNode Get the context node of an XPath context. Returns the context node.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathGetDocument#define xmlXPathGetDocument Get the document of an XPath context. Returns the context document.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathGetError#define xmlXPathGetError Get the error code of an XPath context. Returns the context error.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathReturnBoolean#define xmlXPathReturnBoolean Pushes the boolean @val on the context stack.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathReturnEmptyNodeSet#define xmlXPathReturnEmptyNodeSet Pushes an empty node-set on the context stack.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathReturnEmptyString#define xmlXPathReturnEmptyString Pushes an empty string on the stack.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathReturnExternal#define xmlXPathReturnExternal Pushes user data on the context stack.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathReturnFalse#define xmlXPathReturnFalse Pushes false on the context stack.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathReturnNodeSet#define xmlXPathReturnNodeSet Pushes the node-set @ns on the context stack.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathReturnNumber#define xmlXPathReturnNumber Pushes the double @val on the context stack.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathReturnString#define xmlXPathReturnString Pushes the string @str on the context stack.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathReturnTrue#define xmlXPathReturnTrue Pushes true on the context stack.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathSetArityError#define xmlXPathSetArityError Raises an XPATH_INVALID_ARITY error.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathSetError#define xmlXPathSetError Raises an error.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathSetTypeError#define xmlXPathSetTypeError Raises an XPATH_INVALID_TYPE error.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathStackIsExternal#define xmlXPathStackIsExternal Checks if the current value on the XPath stack is an external object. Returns true if the current object on the stack is an external object.
|
|
Packit Service |
a31ea6 |
Macro: xmlXPathStackIsNodeSet#define xmlXPathStackIsNodeSet Check if the current value on the XPath stack is a node set or an XSLT value tree. Returns true if the current object on the stack is a node-set.
|
|
Packit Service |
a31ea6 |
Function: valuePopxmlXPathObjectPtr valuePop (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Pops the top XPath object from the value stack
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | an XPath evaluation context | <tt>Returns</tt>: | the XPath object just removed |
Function: valuePushint valuePush (xmlXPathParserContextPtr ctxt, xmlXPathObjectPtr value)
|
|
Packit Service |
a31ea6 |
Pushes a new XPath object on top of the value stack
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | an XPath evaluation context | <tt>value</tt>: | the XPath object | <tt>Returns</tt>: | the number of items on the value stack |
Function: xmlXPathAddValuesvoid xmlXPathAddValues (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Implement the add operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context |
Function: xmlXPathBooleanFunctionvoid xmlXPathBooleanFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the boolean() XPath function boolean boolean(object) The boolean function converts its argument to a boolean as follows: - a number is true if and only if it is neither positive or negative zero nor NaN - a node-set is true if and only if it is non-empty - a string is true if and only if its length is non-zero
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathCeilingFunctionvoid xmlXPathCeilingFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the ceiling() XPath function number ceiling(number) The ceiling function returns the smallest (closest to negative infinity) number that is not less than the argument and that is an integer.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathCompareValuesint xmlXPathCompareValues (xmlXPathParserContextPtr ctxt, int inf, int strict)
|
|
Packit Service |
a31ea6 |
Implement the compare operation on XPath objects: @arg1 < @arg2 (1, 1, ... @arg1 <= @arg2 (1, 0, ... @arg1 > @arg2 (0, 1, ... @arg1 >= @arg2 (0, 0, ... When neither object to be compared is a node-set and the operator is <=, <, >=, >, then the objects are compared by converted both objects to numbers and comparing the numbers according to IEEE 754. The < comparison will be true if and only if the first number is less than the second number. The <= comparison will be true if and only if the first number is less than or equal to the second number. The > comparison will be true if and only if the first number is greater than the second number. The >= comparison will be true if and only if the first number is greater than or equal to the second number.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>inf</tt>: | less than (1) or greater than (0) | <tt>strict</tt>: | is the comparison strict | <tt>Returns</tt>: | 1 if the comparison succeeded, 0 if it failed |
Function: xmlXPathConcatFunctionvoid xmlXPathConcatFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the concat() XPath function string concat(string, string, string*) The concat function returns the concatenation of its arguments.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathContainsFunctionvoid xmlXPathContainsFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the contains() XPath function boolean contains(string, string) The contains function returns true if the first argument string contains the second argument string, and otherwise returns false.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathCountFunctionvoid xmlXPathCountFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the count() XPath function number count(node-set)
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathDebugDumpCompExprvoid xmlXPathDebugDumpCompExpr (FILE * output, xmlXPathCompExprPtr comp, int depth)
|
|
Packit Service |
a31ea6 |
Dumps the tree of the compiled XPath expression.
|
|
Packit Service |
a31ea6 |
<tt>output</tt>: | the FILE * for the output | <tt>comp</tt>: | the precompiled XPath expression | <tt>depth</tt>: | the indentation level. |
Function: xmlXPathDebugDumpObjectvoid xmlXPathDebugDumpObject (FILE * output, xmlXPathObjectPtr cur, int depth)
|
|
Packit Service |
a31ea6 |
Dump the content of the object for debugging purposes
|
|
Packit Service |
a31ea6 |
<tt>output</tt>: | the FILE * to dump the output | <tt>cur</tt>: | the object to inspect | <tt>depth</tt>: | indentation level |
Function: xmlXPathDifferencexmlNodeSetPtr xmlXPathDifference (xmlNodeSetPtr nodes1, xmlNodeSetPtr nodes2)
|
|
Packit Service |
a31ea6 |
Implements the EXSLT - Sets difference() function: node-set set:difference (node-set, node-set)
|
|
Packit Service |
a31ea6 |
<tt>nodes1</tt>: | a node-set | <tt>nodes2</tt>: | a node-set | <tt>Returns</tt>: | the difference between the two node sets, or nodes1 if nodes2 is empty |
Function: xmlXPathDistinctxmlNodeSetPtr xmlXPathDistinct (xmlNodeSetPtr nodes)
|
|
Packit Service |
a31ea6 |
Implements the EXSLT - Sets distinct() function: node-set set:distinct (node-set) @nodes is sorted by document order, then #exslSetsDistinctSorted is called with the sorted node-set
|
|
Packit Service |
a31ea6 |
<tt>nodes</tt>: | a node-set | <tt>Returns</tt>: | a subset of the nodes contained in @nodes, or @nodes if it is empty |
Function: xmlXPathDistinctSortedxmlNodeSetPtr xmlXPathDistinctSorted (xmlNodeSetPtr nodes)
|
|
Packit Service |
a31ea6 |
Implements the EXSLT - Sets distinct() function: node-set set:distinct (node-set)
|
|
Packit Service |
a31ea6 |
<tt>nodes</tt>: | a node-set, sorted by document order | <tt>Returns</tt>: | a subset of the nodes contained in @nodes, or @nodes if it is empty |
Function: xmlXPathDivValuesvoid xmlXPathDivValues (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Implement the div operation on XPath objects @arg1 / @arg2: The numeric operators convert their operands to numbers as if by calling the number function.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context |
Function: xmlXPathEqualValuesint xmlXPathEqualValues (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Implement the equal operation on XPath objects content: @arg1 == @arg2
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>Returns</tt>: | 0 or 1 depending on the results of the test. |
Function: xmlXPathErrvoid xmlXPathErr (xmlXPathParserContextPtr ctxt, int error)
|
|
Packit Service |
a31ea6 |
Handle an XPath error
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | a XPath parser context | <tt>error</tt>: | the error code |
Function: xmlXPathEvalExprvoid xmlXPathEvalExpr (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Parse and evaluate an XPath expression in the given context, then push the result on the context stack
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context |
Function: xmlXPathEvaluatePredicateResultint xmlXPathEvaluatePredicateResult (xmlXPathParserContextPtr ctxt, xmlXPathObjectPtr res)
|
|
Packit Service |
a31ea6 |
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.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>res</tt>: | the Predicate Expression evaluation result | <tt>Returns</tt>: | 1 if predicate is true, 0 otherwise |
Function: xmlXPathFalseFunctionvoid xmlXPathFalseFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the false() XPath function boolean false()
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathFloorFunctionvoid xmlXPathFloorFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the floor() XPath function number floor(number) The floor function returns the largest (closest to positive infinity) number that is not greater than the argument and that is an integer.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathFreeParserContextvoid xmlXPathFreeParserContext (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Free up an xmlXPathParserContext
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the context to free |
Function: xmlXPathFunctionLookupxmlXPathFunction xmlXPathFunctionLookup (xmlXPathContextPtr ctxt, const xmlChar * name)
|
|
Packit Service |
a31ea6 |
Search in the Function array of the context for the given function.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath context | <tt>name</tt>: | the function name | <tt>Returns</tt>: | the xmlXPathFunction or NULL if not found |
Function: xmlXPathFunctionLookupNSxmlXPathFunction xmlXPathFunctionLookupNS (xmlXPathContextPtr ctxt, const xmlChar * name, const xmlChar * ns_uri)
|
|
Packit Service |
a31ea6 |
Search in the Function array of the context for the given function.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath context | <tt>name</tt>: | the function name | <tt>ns_uri</tt>: | the function namespace URI | <tt>Returns</tt>: | the xmlXPathFunction or NULL if not found |
Function: xmlXPathHasSameNodesint xmlXPathHasSameNodes (xmlNodeSetPtr nodes1, xmlNodeSetPtr nodes2)
|
|
Packit Service |
a31ea6 |
Implements the EXSLT - Sets has-same-nodes function: boolean set:has-same-node(node-set, node-set)
|
|
Packit Service |
a31ea6 |
<tt>nodes1</tt>: | a node-set | <tt>nodes2</tt>: | a node-set | <tt>Returns</tt>: | true (1) if @nodes1 shares any node with @nodes2, false (0) otherwise |
Function: xmlXPathIdFunctionvoid xmlXPathIdFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the id() XPath function node-set id(object) The id function selects elements by their unique ID (see [5.2.1 Unique IDs]). When the argument to id is of type node-set, then the result is the union of the result of applying id to the string value of each of the nodes in the argument node-set. When the argument to id is of any other type, the argument is converted to a string as if by a call to the string function; the string is split into a whitespace-separated list of tokens (whitespace is any sequence of characters matching the production S); the result is a node-set containing the elements in the same document as the context node that have a unique ID equal to any of the tokens in the list.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathIntersectionxmlNodeSetPtr xmlXPathIntersection (xmlNodeSetPtr nodes1, xmlNodeSetPtr nodes2)
|
|
Packit Service |
a31ea6 |
Implements the EXSLT - Sets intersection() function: node-set set:intersection (node-set, node-set)
|
|
Packit Service |
a31ea6 |
<tt>nodes1</tt>: | a node-set | <tt>nodes2</tt>: | a node-set | <tt>Returns</tt>: | a node set comprising the nodes that are within both the node sets passed as arguments |
Function: xmlXPathIsNodeTypeint xmlXPathIsNodeType (const xmlChar * name)
|
|
Packit Service |
a31ea6 |
Is the name given a NodeType one. [38] NodeType ::= 'comment' | 'text' | 'processing-instruction' | 'node'
|
|
Packit Service |
a31ea6 |
<tt>name</tt>: | a name string | <tt>Returns</tt>: | 1 if true 0 otherwise |
Function: xmlXPathLangFunctionvoid xmlXPathLangFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the lang() XPath function boolean lang(string) The lang function returns true or false depending on whether the language of the context node as specified by xml:lang attributes is the same as or is a sublanguage of the language specified by the argument string. The language of the context node is determined by the value of the xml:lang attribute on the context node, or, if the context node has no xml:lang attribute, by the value of the xml:lang attribute on the nearest ancestor of the context node that has an xml:lang attribute. If there is no such attribute, then lang
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathLastFunctionvoid xmlXPathLastFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the last() XPath function number last() The last function returns the number of nodes in the context node list.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathLeadingxmlNodeSetPtr xmlXPathLeading (xmlNodeSetPtr nodes1, xmlNodeSetPtr nodes2)
|
|
Packit Service |
a31ea6 |
Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set) @nodes1 and @nodes2 are sorted by document order, then #exslSetsLeadingSorted is called.
|
|
Packit Service |
a31ea6 |
<tt>nodes1</tt>: | a node-set | <tt>nodes2</tt>: | a node-set | <tt>Returns</tt>: | the nodes in @nodes1 that precede the first node in @nodes2 in document order, @nodes1 if @nodes2 is NULL or empty or an empty node-set if @nodes1 doesn't contain @nodes2 |
Function: xmlXPathLeadingSortedxmlNodeSetPtr xmlXPathLeadingSorted (xmlNodeSetPtr nodes1, xmlNodeSetPtr nodes2)
|
|
Packit Service |
a31ea6 |
Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set)
|
|
Packit Service |
a31ea6 |
<tt>nodes1</tt>: | a node-set, sorted by document order | <tt>nodes2</tt>: | a node-set, sorted by document order | <tt>Returns</tt>: | the nodes in @nodes1 that precede the first node in @nodes2 in document order, @nodes1 if @nodes2 is NULL or empty or an empty node-set if @nodes1 doesn't contain @nodes2 |
Function: xmlXPathLocalNameFunctionvoid xmlXPathLocalNameFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the local-name() XPath function string local-name(node-set?) The local-name function returns a string containing the local part of the name of the node in the argument node-set that is first in document order. If the node-set is empty or the first node has no name, an empty string is returned. If the argument is omitted it defaults to the context node.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathModValuesvoid xmlXPathModValues (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Implement the mod operation on XPath objects: @arg1 / @arg2 The numeric operators convert their operands to numbers as if by calling the number function.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context |
Function: xmlXPathMultValuesvoid xmlXPathMultValues (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Implement the multiply operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context |
Function: xmlXPathNamespaceURIFunctionvoid xmlXPathNamespaceURIFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the namespace-uri() XPath function string namespace-uri(node-set?) The namespace-uri function returns a string containing the namespace URI of the expanded name of the node in the argument node-set that is first in document order. If the node-set is empty, the first node has no name, or the expanded name has no namespace URI, an empty string is returned. If the argument is omitted it defaults to the context node.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathNewBooleanxmlXPathObjectPtr xmlXPathNewBoolean (int val)
|
|
Packit Service |
a31ea6 |
Create a new xmlXPathObjectPtr of type boolean and of value @val
|
|
Packit Service |
a31ea6 |
<tt>val</tt>: | the boolean value | <tt>Returns</tt>: | the newly created object. |
Function: xmlXPathNewCStringxmlXPathObjectPtr xmlXPathNewCString (const char * val)
|
|
Packit Service |
a31ea6 |
Create a new xmlXPathObjectPtr of type string and of value @val
|
|
Packit Service |
a31ea6 |
<tt>val</tt>: | the char * value | <tt>Returns</tt>: | the newly created object. |
Function: xmlXPathNewFloatxmlXPathObjectPtr xmlXPathNewFloat (double val)
|
|
Packit Service |
a31ea6 |
Create a new xmlXPathObjectPtr of type double and of value @val
|
|
Packit Service |
a31ea6 |
<tt>val</tt>: | the double value | <tt>Returns</tt>: | the newly created object. |
Function: xmlXPathNewNodeSetxmlXPathObjectPtr xmlXPathNewNodeSet (xmlNodePtr val)
|
|
Packit Service |
a31ea6 |
Create a new xmlXPathObjectPtr of type NodeSet and initialize it with the single Node @val
|
|
Packit Service |
a31ea6 |
<tt>val</tt>: | the NodePtr value | <tt>Returns</tt>: | the newly created object. |
Function: xmlXPathNewNodeSetListxmlXPathObjectPtr xmlXPathNewNodeSetList (xmlNodeSetPtr val)
|
|
Packit Service |
a31ea6 |
Create a new xmlXPathObjectPtr of type NodeSet and initialize it with the Nodeset @val
|
|
Packit Service |
a31ea6 |
<tt>val</tt>: | an existing NodeSet | <tt>Returns</tt>: | the newly created object. |
Function: xmlXPathNewParserContextxmlXPathParserContextPtr xmlXPathNewParserContext (const xmlChar * str, xmlXPathContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Create a new xmlXPathParserContext
|
|
Packit Service |
a31ea6 |
<tt>str</tt>: | the XPath expression | <tt>ctxt</tt>: | the XPath context | <tt>Returns</tt>: | the xmlXPathParserContext just allocated. |
Function: xmlXPathNewStringxmlXPathObjectPtr xmlXPathNewString (const xmlChar * val)
|
|
Packit Service |
a31ea6 |
Create a new xmlXPathObjectPtr of type string and of value @val
|
|
Packit Service |
a31ea6 |
<tt>val</tt>: | the xmlChar * value | <tt>Returns</tt>: | the newly created object. |
Function: xmlXPathNewValueTreexmlXPathObjectPtr xmlXPathNewValueTree (xmlNodePtr val)
|
|
Packit Service |
a31ea6 |
Create a new xmlXPathObjectPtr of type Value Tree (XSLT) and initialize it with the tree root @val
|
|
Packit Service |
a31ea6 |
<tt>val</tt>: | the NodePtr value | <tt>Returns</tt>: | the newly created object. |
Function: xmlXPathNextAncestorxmlNodePtr xmlXPathNextAncestor (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
Traversal function for the "ancestor" direction the ancestor axis contains the ancestors of the context node; the ancestors of the context node consist of the parent of context node and the parent's parent and so on; the nodes are ordered in reverse document order; thus the parent is the first node on the axis, and the parent's parent is the second node on the axis
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>cur</tt>: | the current node in the traversal | <tt>Returns</tt>: | the next element following that axis |
Function: xmlXPathNextAncestorOrSelfxmlNodePtr xmlXPathNextAncestorOrSelf (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
Traversal function for the "ancestor-or-self" direction he ancestor-or-self axis contains the context node and ancestors of the context node in reverse document order; thus the context node is the first node on the axis, and the context node's parent the second; parent here is defined the same as with the parent axis.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>cur</tt>: | the current node in the traversal | <tt>Returns</tt>: | the next element following that axis |
Function: xmlXPathNextAttributexmlNodePtr xmlXPathNextAttribute (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
Traversal function for the "attribute" direction TODO: support DTD inherited default attributes
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>cur</tt>: | the current attribute in the traversal | <tt>Returns</tt>: | the next element following that axis |
Function: xmlXPathNextChildxmlNodePtr xmlXPathNextChild (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
Traversal function for the "child" direction The child axis contains the children of the context node in document order.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>cur</tt>: | the current node in the traversal | <tt>Returns</tt>: | the next element following that axis |
Function: xmlXPathNextDescendantxmlNodePtr xmlXPathNextDescendant (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
Traversal function for the "descendant" direction the descendant axis contains the descendants of the context node in document order; a descendant is a child or a child of a child and so on.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>cur</tt>: | the current node in the traversal | <tt>Returns</tt>: | the next element following that axis |
Function: xmlXPathNextDescendantOrSelfxmlNodePtr xmlXPathNextDescendantOrSelf (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
Traversal function for the "descendant-or-self" direction the descendant-or-self axis contains the context node and the descendants of the context node in document order; thus the context node is the first node on the axis, and the first child of the context node is the second node on the axis
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>cur</tt>: | the current node in the traversal | <tt>Returns</tt>: | the next element following that axis |
Function: xmlXPathNextFollowingxmlNodePtr xmlXPathNextFollowing (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
Traversal function for the "following" direction The following axis contains all nodes in the same document as the context node that are after the context node in document order, excluding any descendants and excluding attribute nodes and namespace nodes; the nodes are ordered in document order
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>cur</tt>: | the current node in the traversal | <tt>Returns</tt>: | the next element following that axis |
Function: xmlXPathNextFollowingSiblingxmlNodePtr xmlXPathNextFollowingSibling (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
Traversal function for the "following-sibling" direction The following-sibling axis contains the following siblings of the context node in document order.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>cur</tt>: | the current node in the traversal | <tt>Returns</tt>: | the next element following that axis |
Function: xmlXPathNextNamespacexmlNodePtr xmlXPathNextNamespace (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
Traversal function for the "namespace" direction the namespace axis contains the namespace nodes of the context node; the order of nodes on this axis is implementation-defined; the axis will be empty unless the context node is an element We keep the XML namespace node at the end of the list.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>cur</tt>: | the current attribute in the traversal | <tt>Returns</tt>: | the next element following that axis |
Function: xmlXPathNextParentxmlNodePtr xmlXPathNextParent (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
Traversal function for the "parent" direction The parent axis contains the parent of the context node, if there is one.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>cur</tt>: | the current node in the traversal | <tt>Returns</tt>: | the next element following that axis |
Function: xmlXPathNextPrecedingxmlNodePtr xmlXPathNextPreceding (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
Traversal function for the "preceding" direction the preceding axis contains all nodes in the same document as the context node that are before the context node in document order, excluding any ancestors and excluding attribute nodes and namespace nodes; the nodes are ordered in reverse document order
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>cur</tt>: | the current node in the traversal | <tt>Returns</tt>: | the next element following that axis |
Function: xmlXPathNextPrecedingSiblingxmlNodePtr xmlXPathNextPrecedingSibling (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
Traversal function for the "preceding-sibling" direction The preceding-sibling axis contains the preceding siblings of the context node in reverse document order; the first preceding sibling is first on the axis; the sibling preceding that node is the second on the axis and so on.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>cur</tt>: | the current node in the traversal | <tt>Returns</tt>: | the next element following that axis |
Function: xmlXPathNextSelfxmlNodePtr xmlXPathNextSelf (xmlXPathParserContextPtr ctxt, xmlNodePtr cur)
|
|
Packit Service |
a31ea6 |
Traversal function for the "self" direction The self axis contains just the context node itself
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>cur</tt>: | the current node in the traversal | <tt>Returns</tt>: | the next element following that axis |
Function: xmlXPathNodeLeadingxmlNodeSetPtr xmlXPathNodeLeading (xmlNodeSetPtr nodes, xmlNodePtr node)
|
|
Packit Service |
a31ea6 |
Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set) @nodes is sorted by document order, then #exslSetsNodeLeadingSorted is called.
|
|
Packit Service |
a31ea6 |
<tt>nodes</tt>: | a node-set | <tt>node</tt>: | a node | <tt>Returns</tt>: | the nodes in @nodes that precede @node in document order, @nodes if @node is NULL or an empty node-set if @nodes doesn't contain @node |
Function: xmlXPathNodeLeadingSortedxmlNodeSetPtr xmlXPathNodeLeadingSorted (xmlNodeSetPtr nodes, xmlNodePtr node)
|
|
Packit Service |
a31ea6 |
Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set)
|
|
Packit Service |
a31ea6 |
<tt>nodes</tt>: | a node-set, sorted by document order | <tt>node</tt>: | a node | <tt>Returns</tt>: | the nodes in @nodes that precede @node in document order, @nodes if @node is NULL or an empty node-set if @nodes doesn't contain @node |
Function: xmlXPathNodeSetAddint xmlXPathNodeSetAdd (xmlNodeSetPtr cur, xmlNodePtr val)
|
|
Packit Service |
a31ea6 |
add a new xmlNodePtr to an existing NodeSet
|
|
Packit Service |
a31ea6 |
<tt>cur</tt>: | the initial node set | <tt>val</tt>: | a new xmlNodePtr | <tt>Returns</tt>: | 0 in case of success, and -1 in case of error |
Function: xmlXPathNodeSetAddNsint xmlXPathNodeSetAddNs (xmlNodeSetPtr cur, xmlNodePtr node, xmlNsPtr ns)
|
|
Packit Service |
a31ea6 |
add a new namespace node to an existing NodeSet
|
|
Packit Service |
a31ea6 |
<tt>cur</tt>: | the initial node set | <tt>node</tt>: | the hosting node | <tt>ns</tt>: | a the namespace node | <tt>Returns</tt>: | 0 in case of success and -1 in case of error |
Function: xmlXPathNodeSetAddUniqueint xmlXPathNodeSetAddUnique (xmlNodeSetPtr cur, xmlNodePtr val)
|
|
Packit Service |
a31ea6 |
add a new xmlNodePtr to an existing NodeSet, optimized version when we are sure the node is not already in the set.
|
|
Packit Service |
a31ea6 |
<tt>cur</tt>: | the initial node set | <tt>val</tt>: | a new xmlNodePtr | <tt>Returns</tt>: | 0 in case of success and -1 in case of failure |
Function: xmlXPathNodeSetContainsint xmlXPathNodeSetContains (xmlNodeSetPtr cur, xmlNodePtr val)
|
|
Packit Service |
a31ea6 |
checks whether @cur contains @val
|
|
Packit Service |
a31ea6 |
<tt>cur</tt>: | the node-set | <tt>val</tt>: | the node | <tt>Returns</tt>: | true (1) if @cur contains @val, false (0) otherwise |
Function: xmlXPathNodeSetDelvoid xmlXPathNodeSetDel (xmlNodeSetPtr cur, xmlNodePtr val)
|
|
Packit Service |
a31ea6 |
Removes an xmlNodePtr from an existing NodeSet
|
|
Packit Service |
a31ea6 |
<tt>cur</tt>: | the initial node set | <tt>val</tt>: | an xmlNodePtr |
Function: xmlXPathNodeSetFreeNsvoid xmlXPathNodeSetFreeNs (xmlNsPtr ns)
|
|
Packit Service |
a31ea6 |
Namespace nodes in libxml don't match the XPath semantic. In a node set the namespace nodes are duplicated and the next pointer is set to the parent node in the XPath semantic. Check if such a node needs to be freed
|
|
Packit Service |
a31ea6 |
<tt>ns</tt>: | the XPath namespace node found in a nodeset. |
Function: xmlXPathNodeSetMergexmlNodeSetPtr xmlXPathNodeSetMerge (xmlNodeSetPtr val1, xmlNodeSetPtr val2)
|
|
Packit Service |
a31ea6 |
Merges two nodesets, all nodes from @val2 are added to @val1 if @val1 is NULL, a new set is created and copied from @val2
|
|
Packit Service |
a31ea6 |
<tt>val1</tt>: | the first NodeSet or NULL | <tt>val2</tt>: | the second NodeSet | <tt>Returns</tt>: | @val1 once extended or NULL in case of error. |
Function: xmlXPathNodeSetRemovevoid xmlXPathNodeSetRemove (xmlNodeSetPtr cur, int val)
|
|
Packit Service |
a31ea6 |
Removes an entry from an existing NodeSet list.
|
|
Packit Service |
a31ea6 |
<tt>cur</tt>: | the initial node set | <tt>val</tt>: | the index to remove |
Function: xmlXPathNodeSetSortvoid xmlXPathNodeSetSort (xmlNodeSetPtr set)
|
|
Packit Service |
a31ea6 |
Sort the node set in document order
|
|
Packit Service |
a31ea6 |
<tt>set</tt>: | the node set |
Function: xmlXPathNodeTrailingxmlNodeSetPtr xmlXPathNodeTrailing (xmlNodeSetPtr nodes, xmlNodePtr node)
|
|
Packit Service |
a31ea6 |
Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set) @nodes is sorted by document order, then #xmlXPathNodeTrailingSorted is called.
|
|
Packit Service |
a31ea6 |
<tt>nodes</tt>: | a node-set | <tt>node</tt>: | a node | <tt>Returns</tt>: | the nodes in @nodes that follow @node in document order, @nodes if @node is NULL or an empty node-set if @nodes doesn't contain @node |
Function: xmlXPathNodeTrailingSortedxmlNodeSetPtr xmlXPathNodeTrailingSorted (xmlNodeSetPtr nodes, xmlNodePtr node)
|
|
Packit Service |
a31ea6 |
Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set)
|
|
Packit Service |
a31ea6 |
<tt>nodes</tt>: | a node-set, sorted by document order | <tt>node</tt>: | a node | <tt>Returns</tt>: | the nodes in @nodes that follow @node in document order, @nodes if @node is NULL or an empty node-set if @nodes doesn't contain @node |
Function: xmlXPathNormalizeFunctionvoid xmlXPathNormalizeFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the normalize-space() XPath function string normalize-space(string?) The normalize-space function returns the argument string with white space normalized by stripping leading and trailing whitespace and replacing sequences of whitespace characters by a single space. Whitespace characters are the same allowed by the S production in XML. If the argument is omitted, it defaults to the context node converted to a string, in other words the value of the context node.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathNotEqualValuesint xmlXPathNotEqualValues (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Implement the equal operation on XPath objects content: @arg1 == @arg2
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>Returns</tt>: | 0 or 1 depending on the results of the test. |
Function: xmlXPathNotFunctionvoid xmlXPathNotFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the not() XPath function boolean not(boolean) The not function returns true if its argument is false, and false otherwise.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathNsLookupconst xmlChar * xmlXPathNsLookup (xmlXPathContextPtr ctxt, const xmlChar * prefix)
|
|
Packit Service |
a31ea6 |
Search in the namespace declaration array of the context for the given namespace name associated to the given prefix
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath context | <tt>prefix</tt>: | the namespace prefix value | <tt>Returns</tt>: | the value or NULL if not found |
Function: xmlXPathNumberFunctionvoid xmlXPathNumberFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the number() XPath function number number(object?)
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathParseNCNamexmlChar * xmlXPathParseNCName (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
parse an XML namespace non qualified name. [NS 3] NCName ::= (Letter | '_') (NCNameChar)* [NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>Returns</tt>: | the namespace name or NULL |
Function: xmlXPathParseNamexmlChar * xmlXPathParseName (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
parse an XML name [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)*
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>Returns</tt>: | the namespace name or NULL |
Function: xmlXPathPopBooleanint xmlXPathPopBoolean (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Pops a boolean from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | an XPath parser context | <tt>Returns</tt>: | the boolean |
Function: xmlXPathPopExternalvoid * xmlXPathPopExternal (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Pops an external object from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | an XPath parser context | <tt>Returns</tt>: | the object |
Function: xmlXPathPopNodeSetxmlNodeSetPtr xmlXPathPopNodeSet (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Pops a node-set from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | an XPath parser context | <tt>Returns</tt>: | the node-set |
Function: xmlXPathPopNumberdouble xmlXPathPopNumber (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Pops a number from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | an XPath parser context | <tt>Returns</tt>: | the number |
Function: xmlXPathPopStringxmlChar * xmlXPathPopString (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Pops a string from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | an XPath parser context | <tt>Returns</tt>: | the string |
Function: xmlXPathPositionFunctionvoid xmlXPathPositionFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the position() XPath function number position() The position function returns the position of the context node in the context node list. The first position is 1, and so the last position will be equal to last().
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathRegisterAllFunctionsvoid xmlXPathRegisterAllFunctions (xmlXPathContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Registers all default XPath functions in this context
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath context |
Function: xmlXPathRegisterFuncint xmlXPathRegisterFunc (xmlXPathContextPtr ctxt, const xmlChar * name, xmlXPathFunction f)
|
|
Packit Service |
a31ea6 |
Register a new function. If @f is NULL it unregisters the function
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath context | <tt>name</tt>: | the function name | <tt>f</tt>: | the function implementation or NULL | <tt>Returns</tt>: | 0 in case of success, -1 in case of error |
Function: xmlXPathRegisterFuncLookupvoid xmlXPathRegisterFuncLookup (xmlXPathContextPtr ctxt, xmlXPathFuncLookupFunc f, void * funcCtxt)
|
|
Packit Service |
a31ea6 |
Registers an external mechanism to do function lookup.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath context | <tt>f</tt>: | the lookup function | <tt>funcCtxt</tt>: | the lookup data |
Function: xmlXPathRegisterFuncNSint xmlXPathRegisterFuncNS (xmlXPathContextPtr ctxt, const xmlChar * name, const xmlChar * ns_uri, xmlXPathFunction f)
|
|
Packit Service |
a31ea6 |
Register a new function. If @f is NULL it unregisters the function
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath context | <tt>name</tt>: | the function name | <tt>ns_uri</tt>: | the function namespace URI | <tt>f</tt>: | the function implementation or NULL | <tt>Returns</tt>: | 0 in case of success, -1 in case of error |
Function: xmlXPathRegisterNsint xmlXPathRegisterNs (xmlXPathContextPtr ctxt, const xmlChar * prefix, const xmlChar * ns_uri)
|
|
Packit Service |
a31ea6 |
Register a new namespace. If @ns_uri is NULL it unregisters the namespace
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath context | <tt>prefix</tt>: | the namespace prefix cannot be NULL or empty string | <tt>ns_uri</tt>: | the namespace name | <tt>Returns</tt>: | 0 in case of success, -1 in case of error |
Function: xmlXPathRegisterVariableint xmlXPathRegisterVariable (xmlXPathContextPtr ctxt, const xmlChar * name, xmlXPathObjectPtr value)
|
|
Packit Service |
a31ea6 |
Register a new variable value. If @value is NULL it unregisters the variable
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath context | <tt>name</tt>: | the variable name | <tt>value</tt>: | the variable value or NULL | <tt>Returns</tt>: | 0 in case of success, -1 in case of error |
Function: xmlXPathRegisterVariableLookupvoid xmlXPathRegisterVariableLookup (xmlXPathContextPtr ctxt, xmlXPathVariableLookupFunc f, void * data)
|
|
Packit Service |
a31ea6 |
register an external mechanism to do variable lookup
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath context | <tt>f</tt>: | the lookup function | <tt>data</tt>: | the lookup data |
Function: xmlXPathRegisterVariableNSint xmlXPathRegisterVariableNS (xmlXPathContextPtr ctxt, const xmlChar * name, const xmlChar * ns_uri, xmlXPathObjectPtr value)
|
|
Packit Service |
a31ea6 |
Register a new variable value. If @value is NULL it unregisters the variable
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath context | <tt>name</tt>: | the variable name | <tt>ns_uri</tt>: | the variable namespace URI | <tt>value</tt>: | the variable value or NULL | <tt>Returns</tt>: | 0 in case of success, -1 in case of error |
Function: xmlXPathRegisteredFuncsCleanupvoid xmlXPathRegisteredFuncsCleanup (xmlXPathContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Cleanup the XPath context data associated to registered functions
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath context |
Function: xmlXPathRegisteredNsCleanupvoid xmlXPathRegisteredNsCleanup (xmlXPathContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Cleanup the XPath context data associated to registered variables
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath context |
Function: xmlXPathRegisteredVariablesCleanupvoid xmlXPathRegisteredVariablesCleanup (xmlXPathContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Cleanup the XPath context data associated to registered variables
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath context |
Function: xmlXPathRootvoid xmlXPathRoot (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Initialize the context to the root of the document
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context |
Function: xmlXPathRoundFunctionvoid xmlXPathRoundFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the round() XPath function number round(number) The round function returns the number that is closest to the argument and that is an integer. If there are two such numbers, then the one that is closest to positive infinity is returned.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathStartsWithFunctionvoid xmlXPathStartsWithFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the starts-with() XPath function boolean starts-with(string, string) The starts-with function returns true if the first argument string starts with the second argument string, and otherwise returns false.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathStringEvalNumberdouble xmlXPathStringEvalNumber (const xmlChar * str)
|
|
Packit Service |
a31ea6 |
[30a] Float ::= Number ('e' Digits?)? [30] Number ::= Digits ('.' Digits?)? | '.' Digits [31] Digits ::= [0-9]+ Compile a Number in the string In complement of the Number expression, this function also handles negative values : '-' Number.
|
|
Packit Service |
a31ea6 |
<tt>str</tt>: | A string to scan | <tt>Returns</tt>: | the double value. |
Function: xmlXPathStringFunctionvoid xmlXPathStringFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the string() XPath function string string(object?) The string function converts an object to a string as follows: - A node-set is converted to a string by returning the value of the node in the node-set that is first in document order. If the node-set is empty, an empty string is returned. - A number is converted to a string as follows + NaN is converted to the string NaN + positive zero is converted to the string 0 + negative zero is converted to the string 0 + positive infinity is converted to the string Infinity + negative infinity is converted to the string -Infinity + if the number is an integer, the number is represented in decimal form as a Number with no decimal point and no leading zeros, preceded by a minus sign (-) if the number is negative + otherwise, the number is represented in decimal form as a Number including a decimal point with at least one digit before the decimal point and at least one digit after the decimal point, preceded by a minus sign (-) if the number is negative; there must be no leading zeros before the decimal point apart possibly from the one required digit immediately before the decimal point; beyond the one required digit after the decimal point there must be as many, but only as many, more digits as are needed to uniquely distinguish the number from all other IEEE 754 numeric values. - The boolean false value is converted to the string false. The boolean true value is converted to the string true. If the argument is omitted, it defaults to a node-set with the context node as its only member.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathStringLengthFunctionvoid xmlXPathStringLengthFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the string-length() XPath function number string-length(string?) The string-length returns the number of characters in the string (see [3.6 Strings]). If the argument is omitted, it defaults to the context node converted to a string, in other words the value of the context node.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathSubValuesvoid xmlXPathSubValues (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Implement the subtraction operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context |
Function: xmlXPathSubstringAfterFunctionvoid xmlXPathSubstringAfterFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the substring-after() XPath function string substring-after(string, string) The substring-after function returns the substring of the first argument string that follows the first occurrence of the second argument string in the first argument string, or the empty stringi if the first argument string does not contain the second argument string. For example, substring-after("1999/04/01","/") returns 04/01, and substring-after("1999/04/01","19") returns 99/04/01.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathSubstringBeforeFunctionvoid xmlXPathSubstringBeforeFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the substring-before() XPath function string substring-before(string, string) The substring-before function returns the substring of the first argument string that precedes the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string. For example, substring-before("1999/04/01","/") returns 1999.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathSubstringFunctionvoid xmlXPathSubstringFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the substring() XPath function string substring(string, number, number?) The substring function returns the substring of the first argument starting at the position specified in the second argument with length specified in the third argument. For example, substring("12345",2,3) returns "234". If the third argument is not specified, it returns the substring starting at the position specified in the second argument and continuing to the end of the string. For example, substring("12345",2) returns "2345". More precisely, each character in the string (see [3.6 Strings]) is considered to have a numeric position: the position of the first character is 1, the position of the second character is 2 and so on. The returned substring contains those characters for which the position of the character is greater than or equal to the second argument and, if the third argument is specified, less than the sum of the second and third arguments; the comparisons and addition used for the above follow the standard IEEE 754 rules. Thus: - substring("12345", 1.5, 2.6) returns "234" - substring("12345", 0, 3) returns "12" - substring("12345", 0 div 0, 3) returns "" - substring("12345", 1, 0 div 0) returns "" - substring("12345", -42, 1 div 0) returns "12345" - substring("12345", -1 div 0, 1 div 0) returns ""
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathSumFunctionvoid xmlXPathSumFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the sum() XPath function number sum(node-set) The sum function returns the sum of the values of the nodes in the argument node-set.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathTrailingxmlNodeSetPtr xmlXPathTrailing (xmlNodeSetPtr nodes1, xmlNodeSetPtr nodes2)
|
|
Packit Service |
a31ea6 |
Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set) @nodes1 and @nodes2 are sorted by document order, then #xmlXPathTrailingSorted is called.
|
|
Packit Service |
a31ea6 |
<tt>nodes1</tt>: | a node-set | <tt>nodes2</tt>: | a node-set | <tt>Returns</tt>: | the nodes in @nodes1 that follow the first node in @nodes2 in document order, @nodes1 if @nodes2 is NULL or empty or an empty node-set if @nodes1 doesn't contain @nodes2 |
Function: xmlXPathTrailingSortedxmlNodeSetPtr xmlXPathTrailingSorted (xmlNodeSetPtr nodes1, xmlNodeSetPtr nodes2)
|
|
Packit Service |
a31ea6 |
Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set)
|
|
Packit Service |
a31ea6 |
<tt>nodes1</tt>: | a node-set, sorted by document order | <tt>nodes2</tt>: | a node-set, sorted by document order | <tt>Returns</tt>: | the nodes in @nodes1 that follow the first node in @nodes2 in document order, @nodes1 if @nodes2 is NULL or empty or an empty node-set if @nodes1 doesn't contain @nodes2 |
Function: xmlXPathTranslateFunctionvoid xmlXPathTranslateFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the translate() XPath function string translate(string, string, string) The translate function returns the first argument string with occurrences of characters in the second argument string replaced by the character at the corresponding position in the third argument string. For example, translate("bar","abc","ABC") returns the string BAr. If there is a character in the second argument string with no character at a corresponding position in the third argument string (because the second argument string is longer than the third argument string), then occurrences of that character in the first argument string are removed. For example, translate("--aaa--","abc-","ABC")
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathTrueFunctionvoid xmlXPathTrueFunction (xmlXPathParserContextPtr ctxt, int nargs)
|
|
Packit Service |
a31ea6 |
Implement the true() XPath function boolean true()
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>nargs</tt>: | the number of arguments |
Function: xmlXPathValueFlipSignvoid xmlXPathValueFlipSign (xmlXPathParserContextPtr ctxt)
|
|
Packit Service |
a31ea6 |
Implement the unary - operation on an XPath object The numeric operators convert their operands to numbers as if by calling the number function.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context |
Function: xmlXPathVariableLookupxmlXPathObjectPtr xmlXPathVariableLookup (xmlXPathContextPtr ctxt, const xmlChar * name)
|
|
Packit Service |
a31ea6 |
Search in the Variable array of the context for the given variable value.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath context | <tt>name</tt>: | the variable name | <tt>Returns</tt>: | a copy of the value or NULL if not found |
Function: xmlXPathVariableLookupNSxmlXPathObjectPtr xmlXPathVariableLookupNS (xmlXPathContextPtr ctxt, const xmlChar * name, const xmlChar * ns_uri)
|
|
Packit Service |
a31ea6 |
Search in the Variable array of the context for the given variable value.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath context | <tt>name</tt>: | the variable name | <tt>ns_uri</tt>: | the variable namespace URI | <tt>Returns</tt>: | the a copy of the value or NULL if not found |
Function: xmlXPathWrapCStringxmlXPathObjectPtr xmlXPathWrapCString (char * val)
|
|
Packit Service |
a31ea6 |
Wraps a string into an XPath object.
|
|
Packit Service |
a31ea6 |
<tt>val</tt>: | the char * value | <tt>Returns</tt>: | the newly created object. |
Function: xmlXPathWrapExternalxmlXPathObjectPtr xmlXPathWrapExternal (void * val)
|
|
Packit Service |
a31ea6 |
Wraps the @val data into an XPath object.
|
|
Packit Service |
a31ea6 |
<tt>val</tt>: | the user data | <tt>Returns</tt>: | the newly created object. |
Function: xmlXPathWrapNodeSetxmlXPathObjectPtr xmlXPathWrapNodeSet (xmlNodeSetPtr val)
|
|
Packit Service |
a31ea6 |
Wrap the Nodeset @val in a new xmlXPathObjectPtr
|
|
Packit Service |
a31ea6 |
<tt>val</tt>: | the NodePtr value | <tt>Returns</tt>: | the newly created object. |
Function: xmlXPathWrapStringxmlXPathObjectPtr xmlXPathWrapString (xmlChar * val)
|
|
Packit Service |
a31ea6 |
Wraps the @val string into an XPath object.
|
|
Packit Service |
a31ea6 |
<tt>val</tt>: | the xmlChar * value | <tt>Returns</tt>: | the newly created object. |
Function: xmlXPatherrorvoid xmlXPatherror (xmlXPathParserContextPtr ctxt, const char * file, int line, int no)
|
|
Packit Service |
a31ea6 |
Formats an error message.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the XPath Parser context | <tt>file</tt>: | the file name | <tt>line</tt>: | the line number | <tt>no</tt>: | the error number |
Daniel Veillard </body></html>
|