  
    
    
    
    
    
    
    
  
  
    
      
        
          
libxml2-xpath.html            
Prev          
        
        
          
general.html            
Up          
        
        
          
index.html            
Home          
        
        
          
libxml2-xpointer.html            
Next          
        
        
libxml2 Reference Manual      
    
    
      
xpathInternals    
    
xpathInternals - internal interfaces for XML Path Language implementation
    
internal interfaces for XML Path Language implementation used to build new modules on top of XPath like XPointer and XSLT 
    
Author(s): Daniel Veillard 
    
      
Synopsis
      
#define #xmlXPathStackIsExternalxmlXPathStackIsExternal (ctxt);
#define 
#xmlXPathReturnEmptyStringxmlXPathReturnEmptyString (ctxt);
#define 
#XP_ERROR0XP_ERROR0 (X);
#define 
#xmlXPathSetTypeErrorxmlXPathSetTypeError (ctxt);
#define 
#xmlXPathReturnEmptyNodeSetxmlXPathReturnEmptyNodeSet (ctxt);
#define 
#xmlXPathReturnTruexmlXPathReturnTrue (ctxt);
#define 
#xmlXPathReturnBooleanxmlXPathReturnBoolean (ctxt, val);
#define 
#xmlXPathGetContextNodexmlXPathGetContextNode (ctxt);
#define 
#CAST_TO_NUMBERCAST_TO_NUMBER ;
#define 
#CHECK_ARITYCHECK_ARITY (x);
#define 
#CHECK_TYPE0CHECK_TYPE0 (typeval);
#define 
#CAST_TO_STRINGCAST_TO_STRING ;
#define 
#xmlXPathReturnExternalxmlXPathReturnExternal (ctxt, val);
#define 
#xmlXPathStackIsNodeSetxmlXPathStackIsNodeSet (ctxt);
#define 
#xmlXPathCheckErrorxmlXPathCheckError (ctxt);
#define 
#xmlXPathSetErrorxmlXPathSetError (ctxt, err);
#define 
#CHECK_ERRORCHECK_ERROR ;
#define 
#xmlXPathReturnStringxmlXPathReturnString (ctxt, str);
#define 
#CAST_TO_BOOLEANCAST_TO_BOOLEAN ;
#define 
#xmlXPathSetArityErrorxmlXPathSetArityError (ctxt);
#define 
#CHECK_TYPECHECK_TYPE (typeval);
#define 
#xmlXPathReturnFalsexmlXPathReturnFalse (ctxt);
#define 
#xmlXPathReturnNumberxmlXPathReturnNumber (ctxt, val);
#define 
#CHECK_ERROR0CHECK_ERROR0 ;
#define 
#xmlXPathGetDocumentxmlXPathGetDocument (ctxt);
#define 
#xmlXPathGetErrorxmlXPathGetError (ctxt);
#define 
#XP_ERRORXP_ERROR (X);
#define 
#xmlXPathEmptyNodeSetxmlXPathEmptyNodeSet (ns);
#define 
#xmlXPathReturnNodeSetxmlXPathReturnNodeSet (ctxt, ns);
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	#xmlXPathNodeSetMergexmlXPathNodeSetMerge 	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  val1, 					 libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  val2);
void	
#xmlXPathNumberFunctionxmlXPathNumberFunction 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
const 
libxml2-xmlstring.html#xmlCharxmlChar  *	#xmlXPathNsLookupxmlXPathNsLookup 	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * prefix);
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	#xmlXPathNewNodeSetxmlXPathNewNodeSet 	( libxml2-tree.html#xmlNodePtrxmlNodePtr  val);
libxml2-tree.html#xmlNodePtrxmlNodePtr 	#xmlXPathNextAncestorOrSelfxmlXPathNextAncestorOrSelf 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 						 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur);
void	
#xmlXPathNodeSetRemovexmlXPathNodeSetRemove 		( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  cur, 					 int val);
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	#xmlXPathNewNodeSetListxmlXPathNewNodeSetList 	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  val);
int	
#xmlXPathPopBooleanxmlXPathPopBoolean 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	#xmlXPathNewStringxmlXPathNewString 	(const libxml2-xmlstring.html#xmlCharxmlChar  * val);
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	#xmlXPathNodeLeadingSortedxmlXPathNodeLeadingSorted 	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes, 						 libxml2-tree.html#xmlNodePtrxmlNodePtr  node);
libxml2-tree.html#xmlNodePtrxmlNodePtr 	#xmlXPathNextChildxmlXPathNextChild 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur);
libxml2-tree.html#xmlNodePtrxmlNodePtr 	#xmlXPathNextFollowingSiblingxmlXPathNextFollowingSibling 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 						 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur);
libxml2-xmlstring.html#xmlCharxmlChar  *	#xmlXPathPopStringxmlXPathPopString 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
void	
#xmlXPathNamespaceURIFunctionxmlXPathNamespaceURIFunction 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
int	
#xmlXPathCompareValuesxmlXPathCompareValues 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int inf, 					 int strict);
void	
#xmlXPathConcatFunctionxmlXPathConcatFunction 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
int	
#xmlXPathNodeSetContainsxmlXPathNodeSetContains 		( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  cur, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  val);
void	
#xmlXPatherrorxmlXPatherror 			( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 const char * file, 					 int line, 					 int no);
libxml2-tree.html#xmlNodePtrxmlNodePtr 	#xmlXPathNextAncestorxmlXPathNextAncestor 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur);
void	
#xmlXPathBooleanFunctionxmlXPathBooleanFunction 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
void	
#xmlXPathRootxmlXPathRoot 			( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
void	
#xmlXPathRegisteredNsCleanupxmlXPathRegisteredNsCleanup 	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt);
int	
#xmlXPathIsNodeTypexmlXPathIsNodeType 		(const libxml2-xmlstring.html#xmlCharxmlChar  * name);
libxml2-tree.html#xmlNodePtrxmlNodePtr 	#xmlXPathNextFollowingxmlXPathNextFollowing 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur);
void	
#xmlXPathAddValuesxmlXPathAddValues 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
int	
#xmlXPathRegisterVariablexmlXPathRegisterVariable 	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr  value);
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	#valuePopvaluePop 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
void	
#xmlXPathCeilingFunctionxmlXPathCeilingFunction 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	#xmlXPathIntersectionxmlXPathIntersection 	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes1, 					 libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes2);
void	
#xmlXPathContainsFunctionxmlXPathContainsFunction 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
void	
#xmlXPathNodeSetSortxmlXPathNodeSetSort 		( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  set);
void	
#xmlXPathStartsWithFunctionxmlXPathStartsWithFunction 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	#xmlXPathNodeLeadingxmlXPathNodeLeading 	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  node);
void	
#xmlXPathSumFunctionxmlXPathSumFunction 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
int	
#xmlXPathNotEqualValuesxmlXPathNotEqualValues 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
int	
#xmlXPathEvaluatePredicateResultxmlXPathEvaluatePredicateResult 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr  res);
void	
#xmlXPathErrxmlXPathErr 			( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int error);
libxml2-tree.html#xmlNodePtrxmlNodePtr 	#xmlXPathNextPrecedingxmlXPathNextPreceding 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur);
libxml2-xpath.html#xmlXPathFunctionxmlXPathFunction 	#xmlXPathFunctionLookupNSxmlXPathFunctionLookupNS 	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 							 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 							 const libxml2-xmlstring.html#xmlCharxmlChar  * ns_uri);
void	
#xmlXPathRegisteredFuncsCleanupxmlXPathRegisteredFuncsCleanup 	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt);
void	
#xmlXPathRegisterAllFunctionsxmlXPathRegisterAllFunctions 	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt);
libxml2-xpath.html#xmlXPathFunctionxmlXPathFunction 	#xmlXPathFunctionLookupxmlXPathFunctionLookup 	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 						 const libxml2-xmlstring.html#xmlCharxmlChar  * name);
void	
#xmlXPathPositionFunctionxmlXPathPositionFunction 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
void	
#xmlXPathSubstringBeforeFunctionxmlXPathSubstringBeforeFunction 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
void	
#xmlXPathRegisteredVariablesCleanupxmlXPathRegisteredVariablesCleanup 	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt);
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	#xmlXPathNewFloatxmlXPathNewFloat 	(double val);
int	
#xmlXPathRegisterNsxmlXPathRegisterNs 		( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * prefix, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ns_uri);
libxml2-tree.html#xmlNodePtrxmlNodePtr 	#xmlXPathNextParentxmlXPathNextParent 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur);
void	
#xmlXPathNodeSetFreeNsxmlXPathNodeSetFreeNs 		( libxml2-tree.html#xmlNsPtrxmlNsPtr  ns);
int	
#xmlXPathHasSameNodesxmlXPathHasSameNodes 		( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes1, 					 libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes2);
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	#xmlXPathDistinctSortedxmlXPathDistinctSorted 	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes);
int	
#valuePushvaluePush 			( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr  value);
void	
#xmlXPathSubstringFunctionxmlXPathSubstringFunction 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
void	
#xmlXPathStringFunctionxmlXPathStringFunction 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
void	
#xmlXPathFloorFunctionxmlXPathFloorFunction 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
void	
#xmlXPathIdFunctionxmlXPathIdFunction 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
void	
#xmlXPathLastFunctionxmlXPathLastFunction 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
void	
#xmlXPathStringLengthFunctionxmlXPathStringLengthFunction 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
libxml2-tree.html#xmlNodePtrxmlNodePtr 	#xmlXPathNextSelfxmlXPathNextSelf 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur);
void	
#xmlXPathDebugDumpCompExprxmlXPathDebugDumpCompExpr 	(FILE * output, 					 libxml2-xpath.html#xmlXPathCompExprPtrxmlXPathCompExprPtr  comp, 					 int depth);
void	
#xmlXPathFalseFunctionxmlXPathFalseFunction 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
void	
#xmlXPathValueFlipSignxmlXPathValueFlipSign 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
void	
#xmlXPathTranslateFunctionxmlXPathTranslateFunction 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
void	
#xmlXPathRegisterFuncLookupxmlXPathRegisterFuncLookup 	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 					 libxml2-xpath.html#xmlXPathFuncLookupFuncxmlXPathFuncLookupFunc  f, 					 void * funcCtxt);
double	
#xmlXPathPopNumberxmlXPathPopNumber 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
void	
#xmlXPathRoundFunctionxmlXPathRoundFunction 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	#xmlXPathPopNodeSetxmlXPathPopNodeSet 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
void	
#xmlXPathCountFunctionxmlXPathCountFunction 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
libxml2-xmlstring.html#xmlCharxmlChar  *	#xmlXPathParseNCNamexmlXPathParseNCName 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
void	
#xmlXPathTrueFunctionxmlXPathTrueFunction 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	#xmlXPathNewBooleanxmlXPathNewBoolean 	(int val);
void	
#xmlXPathSubValuesxmlXPathSubValues 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
int	
#xmlXPathEqualValuesxmlXPathEqualValues 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	#xmlXPathTrailingSortedxmlXPathTrailingSorted 	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes1, 					 libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes2);
void	
#xmlXPathMultValuesxmlXPathMultValues 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
void	
#xmlXPathModValuesxmlXPathModValues 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr 	#xmlXPathNewParserContextxmlXPathNewParserContext 	(const libxml2-xmlstring.html#xmlCharxmlChar  * str, 							 libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt);
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	#xmlXPathWrapNodeSetxmlXPathWrapNodeSet 	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  val);
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	#xmlXPathWrapStringxmlXPathWrapString 	( libxml2-xmlstring.html#xmlCharxmlChar  * val);
void	
#xmlXPathLangFunctionxmlXPathLangFunction 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
int	
#xmlXPathRegisterFuncNSxmlXPathRegisterFuncNS 		( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ns_uri, 					 libxml2-xpath.html#xmlXPathFunctionxmlXPathFunction  f);
void	
#xmlXPathNodeSetAddNsxmlXPathNodeSetAddNs 		( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  cur, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  node, 					 libxml2-tree.html#xmlNsPtrxmlNsPtr  ns);
void	
#xmlXPathLocalNameFunctionxmlXPathLocalNameFunction 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	#xmlXPathDifferencexmlXPathDifference 	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes1, 					 libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes2);
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	#xmlXPathLeadingSortedxmlXPathLeadingSorted 	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes1, 					 libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes2);
libxml2-tree.html#xmlNodePtrxmlNodePtr 	#xmlXPathNextPrecedingSiblingxmlXPathNextPrecedingSibling 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 						 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur);
void *	
#xmlXPathPopExternalxmlXPathPopExternal 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
void	
#xmlXPathNormalizeFunctionxmlXPathNormalizeFunction 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
void	
#xmlXPathRegisterVariableLookupxmlXPathRegisterVariableLookup 	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 					 libxml2-xpath.html#xmlXPathVariableLookupFuncxmlXPathVariableLookupFunc  f, 					 void * data);
void	
#xmlXPathNodeSetDelxmlXPathNodeSetDel 		( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  cur, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  val);
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	#xmlXPathNodeTrailingSortedxmlXPathNodeTrailingSorted 	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes, 						 libxml2-tree.html#xmlNodePtrxmlNodePtr  node);
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	#xmlXPathNewCStringxmlXPathNewCString 	(const char * val);
int	
#xmlXPathRegisterFuncxmlXPathRegisterFunc 		( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 libxml2-xpath.html#xmlXPathFunctionxmlXPathFunction  f);
void	
#xmlXPathSubstringAfterFunctionxmlXPathSubstringAfterFunction 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
libxml2-tree.html#xmlNodePtrxmlNodePtr 	#xmlXPathNextDescendantxmlXPathNextDescendant 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur);
libxml2-tree.html#xmlNodePtrxmlNodePtr 	#xmlXPathNextNamespacexmlXPathNextNamespace 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur);
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	#xmlXPathWrapCStringxmlXPathWrapCString 	(char * val);
void	
#xmlXPathFreeParserContextxmlXPathFreeParserContext 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	#xmlXPathNodeTrailingxmlXPathNodeTrailing 	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  node);
void	
#xmlXPathNodeSetAddxmlXPathNodeSetAdd 		( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  cur, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  val);
void	
#xmlXPathNodeSetAddUniquexmlXPathNodeSetAddUnique 	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  cur, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  val);
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	#xmlXPathNewValueTreexmlXPathNewValueTree 	( libxml2-tree.html#xmlNodePtrxmlNodePtr  val);
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	#xmlXPathDistinctxmlXPathDistinct 	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes);
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	#xmlXPathVariableLookupxmlXPathVariableLookup 	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 						 const libxml2-xmlstring.html#xmlCharxmlChar  * name);
void	
#xmlXPathNotFunctionxmlXPathNotFunction 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs);
double	
#xmlXPathStringEvalNumberxmlXPathStringEvalNumber 	(const libxml2-xmlstring.html#xmlCharxmlChar  * str);
libxml2-tree.html#xmlNodePtrxmlNodePtr 	#xmlXPathNextDescendantOrSelfxmlXPathNextDescendantOrSelf 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 						 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur);
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	#xmlXPathWrapExternalxmlXPathWrapExternal 	(void * val);
libxml2-tree.html#xmlNodePtrxmlNodePtr 	#xmlXPathNextAttributexmlXPathNextAttribute 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur);
void	
#xmlXPathDivValuesxmlXPathDivValues 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	#xmlXPathVariableLookupNSxmlXPathVariableLookupNS 	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 							 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 							 const libxml2-xmlstring.html#xmlCharxmlChar  * ns_uri);
int	
#xmlXPathRegisterVariableNSxmlXPathRegisterVariableNS 	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ns_uri, 					 libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr  value);
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	#xmlXPathTrailingxmlXPathTrailing 	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes1, 					 libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes2);
void	
#xmlXPathEvalExprxmlXPathEvalExpr 		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
void	
#xmlXPathDebugDumpObjectxmlXPathDebugDumpObject 		(FILE * output, 					 libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr  cur, 					 int depth);
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	#xmlXPathLeadingxmlXPathLeading 		( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes1, 					 libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes2);
libxml2-xmlstring.html#xmlCharxmlChar  *	#xmlXPathParseNamexmlXPathParseName 	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt);
    
    
      
Description
    
    
      
Details
      
        
Macro CAST_TO_BOOLEAN
#define #CAST_TO_BOOLEANCAST_TO_BOOLEAN ;
Macro to try to cast the value on the top of the XPath stack to a boolean.
        
        
Macro CAST_TO_NUMBER
#define #CAST_TO_NUMBERCAST_TO_NUMBER ;
Macro to try to cast the value on the top of the XPath stack to a number.
        
        
Macro CAST_TO_STRING
#define #CAST_TO_STRINGCAST_TO_STRING ;
Macro to try to cast the value on the top of the XPath stack to a string.
        
        
Macro CHECK_ARITY
#define #CHECK_ARITYCHECK_ARITY (x);
Macro to check that the number of args passed to an XPath function matches.
x: the number of expected args         
        
Macro CHECK_ERROR
#define #CHECK_ERRORCHECK_ERROR ;
Macro to return from the function if an XPath error was detected.
        
        
Macro CHECK_ERROR0
#define #CHECK_ERROR0CHECK_ERROR0 ;
Macro to return 0 from the function if an XPath error was detected.
        
        
Macro CHECK_TYPE
#define #CHECK_TYPECHECK_TYPE (typeval);
Macro to check that the value on top of the XPath stack is of a given type.
typeval: the XPath type         
        
Macro CHECK_TYPE0
#define #CHECK_TYPE0CHECK_TYPE0 (typeval);
Macro to check that the value on top of the XPath stack is of a given type. Return(0) in case of failure
typeval: the XPath type         
        
Macro XP_ERROR
#define #XP_ERRORXP_ERROR (X);
Macro to raise an XPath error and return.
X: the error code         
        
Macro XP_ERROR0
#define #XP_ERROR0XP_ERROR0 (X);
Macro to raise an XPath error and return 0.
X: the error code         
        
Macro xmlXPathCheckError
#define #xmlXPathCheckErrorxmlXPathCheckError (ctxt);
Check if an XPath error was raised. Returns true if an error has been raised, false otherwise.
ctxt: an XPath parser context         
        
Macro xmlXPathEmptyNodeSet
#define #xmlXPathEmptyNodeSetxmlXPathEmptyNodeSet (ns);
Empties a node-set.
ns: a node-set         
        
Macro xmlXPathGetContextNode
#define #xmlXPathGetContextNodexmlXPathGetContextNode (ctxt);
Get the context node of an XPath context. Returns the context node.
ctxt: an XPath parser context         
        
Macro xmlXPathGetDocument
#define #xmlXPathGetDocumentxmlXPathGetDocument (ctxt);
Get the document of an XPath context. Returns the context document.
ctxt: an XPath parser context         
        
Macro xmlXPathGetError
#define #xmlXPathGetErrorxmlXPathGetError (ctxt);
Get the error code of an XPath context. Returns the context error.
ctxt: an XPath parser context         
        
Macro xmlXPathReturnBoolean
#define #xmlXPathReturnBooleanxmlXPathReturnBoolean (ctxt, val);
Pushes the boolean @val on the context stack.
ctxt: an XPath parser context val: a boolean         
        
Macro xmlXPathReturnEmptyNodeSet
#define #xmlXPathReturnEmptyNodeSetxmlXPathReturnEmptyNodeSet (ctxt);
Pushes an empty node-set on the context stack.
ctxt: an XPath parser context         
        
Macro xmlXPathReturnEmptyString
#define #xmlXPathReturnEmptyStringxmlXPathReturnEmptyString (ctxt);
Pushes an empty string on the stack.
ctxt: an XPath parser context         
        
Macro xmlXPathReturnExternal
#define #xmlXPathReturnExternalxmlXPathReturnExternal (ctxt, val);
Pushes user data on the context stack.
ctxt: an XPath parser context val: user data         
        
Macro xmlXPathReturnFalse
#define #xmlXPathReturnFalsexmlXPathReturnFalse (ctxt);
Pushes false on the context stack.
ctxt: an XPath parser context         
        
Macro xmlXPathReturnNodeSet
#define #xmlXPathReturnNodeSetxmlXPathReturnNodeSet (ctxt, ns);
Pushes the node-set @ns on the context stack.
ctxt: an XPath parser context ns: a node-set         
        
Macro xmlXPathReturnNumber
#define #xmlXPathReturnNumberxmlXPathReturnNumber (ctxt, val);
Pushes the double @val on the context stack.
ctxt: an XPath parser context val: a double         
        
Macro xmlXPathReturnString
#define #xmlXPathReturnStringxmlXPathReturnString (ctxt, str);
Pushes the string @str on the context stack.
ctxt: an XPath parser context str: a string         
        
Macro xmlXPathReturnTrue
#define #xmlXPathReturnTruexmlXPathReturnTrue (ctxt);
Pushes true on the context stack.
ctxt: an XPath parser context         
        
Macro xmlXPathSetArityError
#define #xmlXPathSetArityErrorxmlXPathSetArityError (ctxt);
Raises an libxml2-xpath.html#XPATH_INVALID_ARITYXPATH_INVALID_ARITY  error.
ctxt: an XPath parser context         
        
Macro xmlXPathSetError
#define #xmlXPathSetErrorxmlXPathSetError (ctxt, err);
Raises an error.
ctxt: an XPath parser context err: an libxml2-xpath.html#xmlXPathErrorxmlXPathError  code         
        
Macro xmlXPathSetTypeError
#define #xmlXPathSetTypeErrorxmlXPathSetTypeError (ctxt);
Raises an libxml2-xpath.html#XPATH_INVALID_TYPEXPATH_INVALID_TYPE  error.
ctxt: an XPath parser context         
        
Macro xmlXPathStackIsExternal
#define #xmlXPathStackIsExternalxmlXPathStackIsExternal (ctxt);
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.
ctxt: an XPath parser context         
        
Macro xmlXPathStackIsNodeSet
#define #xmlXPathStackIsNodeSetxmlXPathStackIsNodeSet (ctxt);
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.
ctxt: an XPath parser context         
        
valuePop ()
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	valuePop	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)Pops the top XPath object from the value stack
ctxt: an XPath evaluation context Returns: the XPath object just removed         
        
valuePush ()
int	valuePush			( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr  value)Pushes a new XPath object on top of the value stack
ctxt: an XPath evaluation context value: the XPath object Returns: the number of items on the value stack         
        
xmlXPathAddValues ()
void	xmlXPathAddValues		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)Implement the add operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.
ctxt: the XPath Parser context         
        
xmlXPathBooleanFunction ()
void	xmlXPathBooleanFunction		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)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
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathCeilingFunction ()
void	xmlXPathCeilingFunction		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)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.
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathCompareValues ()
int	xmlXPathCompareValues		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int inf, 					 int strict)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.
ctxt: the XPath Parser context inf: less than (1) or greater than (0) strict: is the comparison strict Returns: 1 if the comparison succeeded, 0 if it failed         
        
xmlXPathConcatFunction ()
void	xmlXPathConcatFunction		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)Implement the concat() XPath function string concat(string, string, string*) The concat function returns the concatenation of its arguments.
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathContainsFunction ()
void	xmlXPathContainsFunction	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)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.
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathCountFunction ()
void	xmlXPathCountFunction		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)Implement the count() XPath function number count(node-set)
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathDebugDumpCompExpr ()
void	xmlXPathDebugDumpCompExpr	(FILE * output, 					 libxml2-xpath.html#xmlXPathCompExprPtrxmlXPathCompExprPtr  comp, 					 int depth)Dumps the tree of the compiled XPath expression.
output: the FILE * for the output comp: the precompiled XPath expression depth: the indentation level.         
        
xmlXPathDebugDumpObject ()
void	xmlXPathDebugDumpObject		(FILE * output, 					 libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr  cur, 					 int depth)Dump the content of the object for debugging purposes
output: the FILE * to dump the output cur: the object to inspect depth: indentation level         
        
xmlXPathDifference ()
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	xmlXPathDifference	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes1, 					 libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes2)Implements the EXSLT - Sets difference() function: node-set set:difference (node-set, node-set)
nodes1: a node-set nodes2: a node-set Returns: the difference between the two node sets, or nodes1 if nodes2 is empty         
        
xmlXPathDistinct ()
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	xmlXPathDistinct	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes)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
nodes: a node-set Returns: a subset of the nodes contained in @nodes, or @nodes if it is empty         
        
xmlXPathDistinctSorted ()
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	xmlXPathDistinctSorted	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes)Implements the EXSLT - Sets distinct() function: node-set set:distinct (node-set)
nodes: a node-set, sorted by document order Returns: a subset of the nodes contained in @nodes, or @nodes if it is empty         
        
xmlXPathDivValues ()
void	xmlXPathDivValues		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)Implement the div operation on XPath objects @arg1 / @arg2: The numeric operators convert their operands to numbers as if by calling the number function.
ctxt: the XPath Parser context         
        
xmlXPathEqualValues ()
int	xmlXPathEqualValues		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)Implement the equal operation on XPath objects content: @arg1 == @arg2
ctxt: the XPath Parser context Returns: 0 or 1 depending on the results of the test.         
        
xmlXPathErr ()
void	xmlXPathErr			( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int error)Handle an XPath error
ctxt: a XPath parser context error: the error code         
        
xmlXPathEvalExpr ()
void	xmlXPathEvalExpr		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)Parse and evaluate an XPath expression in the given context, then push the result on the context stack
ctxt: the XPath Parser context         
        
xmlXPathEvaluatePredicateResult ()
int	xmlXPathEvaluatePredicateResult	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr  res)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.
ctxt: the XPath Parser context res: the Predicate Expression evaluation result Returns: 1 if predicate is true, 0 otherwise         
        
xmlXPathFalseFunction ()
void	xmlXPathFalseFunction		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)Implement the false() XPath function boolean false()
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathFloorFunction ()
void	xmlXPathFloorFunction		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)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.
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathFreeParserContext ()
void	xmlXPathFreeParserContext	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)Free up an libxml2-xpath.html#xmlXPathParserContextxmlXPathParserContext 
ctxt: the context to free         
        
xmlXPathFunctionLookup ()
libxml2-xpath.html#xmlXPathFunctionxmlXPathFunction 	xmlXPathFunctionLookup	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 						 const libxml2-xmlstring.html#xmlCharxmlChar  * name)Search in the Function array of the context for the given function.
ctxt: the XPath context name: the function name Returns: the libxml2-xpath.html#xmlXPathFunctionxmlXPathFunction  or NULL if not found         
        
xmlXPathFunctionLookupNS ()
libxml2-xpath.html#xmlXPathFunctionxmlXPathFunction 	xmlXPathFunctionLookupNS	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 							 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 							 const libxml2-xmlstring.html#xmlCharxmlChar  * ns_uri)Search in the Function array of the context for the given function.
ctxt: the XPath context name: the function name ns_uri: the function namespace URI Returns: the libxml2-xpath.html#xmlXPathFunctionxmlXPathFunction  or NULL if not found         
        
xmlXPathHasSameNodes ()
int	xmlXPathHasSameNodes		( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes1, 					 libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes2)Implements the EXSLT - Sets has-same-nodes function: boolean set:has-same-node(node-set, node-set)
nodes1: a node-set nodes2: a node-set Returns: true (1) if @nodes1 shares any node with @nodes2, false (0) otherwise         
        
xmlXPathIdFunction ()
void	xmlXPathIdFunction		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)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 libxml2-SAX.html#characterscharacters  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.
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathIntersection ()
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	xmlXPathIntersection	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes1, 					 libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes2)Implements the EXSLT - Sets intersection() function: node-set set:intersection (node-set, node-set)
nodes1: a node-set nodes2: a node-set Returns: a node set comprising the nodes that are within both the node sets passed as arguments         
        
xmlXPathIsNodeType ()
int	xmlXPathIsNodeType		(const libxml2-xmlstring.html#xmlCharxmlChar  * name)Is the name given a NodeType one. [38] NodeType ::= 'comment' | 'text' | 'processing-instruction' | 'node'
name: a name string Returns: 1 if true 0 otherwise         
        
xmlXPathLangFunction ()
void	xmlXPathLangFunction		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)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 libxml2-SAX.html#attributeattribute  on the context node, or, if the context node has no xml:lang attribute, by the value of the xml:lang libxml2-SAX.html#attributeattribute  on the nearest ancestor of the context node that has an xml:lang attribute. If there is no such attribute, then lang
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathLastFunction ()
void	xmlXPathLastFunction		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)Implement the last() XPath function number last() The last function returns the number of nodes in the context node list.
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathLeading ()
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	xmlXPathLeading		( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes1, 					 libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes2)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.
nodes1: a node-set nodes2: a node-set Returns: 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         
        
xmlXPathLeadingSorted ()
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	xmlXPathLeadingSorted	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes1, 					 libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes2)Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set)
nodes1: a node-set, sorted by document order nodes2: a node-set, sorted by document order Returns: 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         
        
xmlXPathLocalNameFunction ()
void	xmlXPathLocalNameFunction	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)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.
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathModValues ()
void	xmlXPathModValues		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)Implement the mod operation on XPath objects: @arg1 / @arg2 The numeric operators convert their operands to numbers as if by calling the number function.
ctxt: the XPath Parser context         
        
xmlXPathMultValues ()
void	xmlXPathMultValues		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)Implement the multiply operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.
ctxt: the XPath Parser context         
        
xmlXPathNamespaceURIFunction ()
void	xmlXPathNamespaceURIFunction	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)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.
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathNewBoolean ()
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	xmlXPathNewBoolean	(int val)Create a new libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr  of type boolean and of value @val
val: the boolean value Returns: the newly created object.         
        
xmlXPathNewCString ()
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	xmlXPathNewCString	(const char * val)Create a new libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr  of type string and of value @val
val: the char * value Returns: the newly created object.         
        
xmlXPathNewFloat ()
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	xmlXPathNewFloat	(double val)Create a new libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr  of type double and of value @val
val: the double value Returns: the newly created object.         
        
xmlXPathNewNodeSet ()
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	xmlXPathNewNodeSet	( libxml2-tree.html#xmlNodePtrxmlNodePtr  val)Create a new libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr  of type NodeSet and initialize it with the single Node @val
val: the NodePtr value Returns: the newly created object.         
        
xmlXPathNewNodeSetList ()
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	xmlXPathNewNodeSetList	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  val)Create a new libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr  of type NodeSet and initialize it with the Nodeset @val
val: an existing NodeSet Returns: the newly created object.         
        
xmlXPathNewParserContext ()
libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr 	xmlXPathNewParserContext	(const libxml2-xmlstring.html#xmlCharxmlChar  * str, 							 libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt)Create a new libxml2-xpath.html#xmlXPathParserContextxmlXPathParserContext 
str: the XPath expression ctxt: the XPath context Returns: the libxml2-xpath.html#xmlXPathParserContextxmlXPathParserContext  just allocated.         
        
xmlXPathNewString ()
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	xmlXPathNewString	(const libxml2-xmlstring.html#xmlCharxmlChar  * val)Create a new libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr  of type string and of value @val
val: the libxml2-xmlstring.html#xmlCharxmlChar  * value Returns: the newly created object.         
        
xmlXPathNewValueTree ()
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	xmlXPathNewValueTree	( libxml2-tree.html#xmlNodePtrxmlNodePtr  val)Create a new libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr  of type Value Tree (XSLT) and initialize it with the tree root @val
val: the NodePtr value Returns: the newly created object.         
        
xmlXPathNextAncestor ()
libxml2-tree.html#xmlNodePtrxmlNodePtr 	xmlXPathNextAncestor	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur)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
ctxt: the XPath Parser context cur: the current node in the traversal Returns: the next element following that axis         
        
xmlXPathNextAncestorOrSelf ()
libxml2-tree.html#xmlNodePtrxmlNodePtr 	xmlXPathNextAncestorOrSelf	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 						 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur)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.
ctxt: the XPath Parser context cur: the current node in the traversal Returns: the next element following that axis         
        
xmlXPathNextAttribute ()
libxml2-tree.html#xmlNodePtrxmlNodePtr 	xmlXPathNextAttribute	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur)Traversal function for the "attribute" direction TODO: support DTD inherited default attributes
ctxt: the XPath Parser context cur: the current libxml2-SAX.html#attributeattribute  in the traversal Returns: the next element following that axis         
        
xmlXPathNextChild ()
libxml2-tree.html#xmlNodePtrxmlNodePtr 	xmlXPathNextChild	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur)Traversal function for the "child" direction The child axis contains the children of the context node in document order.
ctxt: the XPath Parser context cur: the current node in the traversal Returns: the next element following that axis         
        
xmlXPathNextDescendant ()
libxml2-tree.html#xmlNodePtrxmlNodePtr 	xmlXPathNextDescendant	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur)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.
ctxt: the XPath Parser context cur: the current node in the traversal Returns: the next element following that axis         
        
xmlXPathNextDescendantOrSelf ()
libxml2-tree.html#xmlNodePtrxmlNodePtr 	xmlXPathNextDescendantOrSelf	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 						 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur)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
ctxt: the XPath Parser context cur: the current node in the traversal Returns: the next element following that axis         
        
xmlXPathNextFollowing ()
libxml2-tree.html#xmlNodePtrxmlNodePtr 	xmlXPathNextFollowing	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur)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 libxml2-SAX.html#attributeattribute  nodes and namespace nodes; the nodes are ordered in document order
ctxt: the XPath Parser context cur: the current node in the traversal Returns: the next element following that axis         
        
xmlXPathNextFollowingSibling ()
libxml2-tree.html#xmlNodePtrxmlNodePtr 	xmlXPathNextFollowingSibling	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 						 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur)Traversal function for the "following-sibling" direction The following-sibling axis contains the following siblings of the context node in document order.
ctxt: the XPath Parser context cur: the current node in the traversal Returns: the next element following that axis         
        
xmlXPathNextNamespace ()
libxml2-tree.html#xmlNodePtrxmlNodePtr 	xmlXPathNextNamespace	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur)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.
ctxt: the XPath Parser context cur: the current libxml2-SAX.html#attributeattribute  in the traversal Returns: the next element following that axis         
        
xmlXPathNextParent ()
libxml2-tree.html#xmlNodePtrxmlNodePtr 	xmlXPathNextParent	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur)Traversal function for the "parent" direction The parent axis contains the parent of the context node, if there is one.
ctxt: the XPath Parser context cur: the current node in the traversal Returns: the next element following that axis         
        
xmlXPathNextPreceding ()
libxml2-tree.html#xmlNodePtrxmlNodePtr 	xmlXPathNextPreceding	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur)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 libxml2-SAX.html#attributeattribute  nodes and namespace nodes; the nodes are ordered in reverse document order
ctxt: the XPath Parser context cur: the current node in the traversal Returns: the next element following that axis         
        
xmlXPathNextPrecedingSibling ()
libxml2-tree.html#xmlNodePtrxmlNodePtr 	xmlXPathNextPrecedingSibling	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 						 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur)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.
ctxt: the XPath Parser context cur: the current node in the traversal Returns: the next element following that axis         
        
xmlXPathNextSelf ()
libxml2-tree.html#xmlNodePtrxmlNodePtr 	xmlXPathNextSelf	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  cur)Traversal function for the "self" direction The self axis contains just the context node itself
ctxt: the XPath Parser context cur: the current node in the traversal Returns: the next element following that axis         
        
xmlXPathNodeLeading ()
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	xmlXPathNodeLeading	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  node)Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set) @nodes is sorted by document order, then #exslSetsNodeLeadingSorted is called.
nodes: a node-set node: a node Returns: 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         
        
xmlXPathNodeLeadingSorted ()
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	xmlXPathNodeLeadingSorted	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes, 						 libxml2-tree.html#xmlNodePtrxmlNodePtr  node)Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set)
nodes: a node-set, sorted by document order node: a node Returns: 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         
        
xmlXPathNodeSetAdd ()
void	xmlXPathNodeSetAdd		( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  cur, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  val)add a new libxml2-tree.html#xmlNodePtrxmlNodePtr  to an existing NodeSet
cur: the initial node set val: a new libxml2-tree.html#xmlNodePtrxmlNodePtr         
        
xmlXPathNodeSetAddNs ()
void	xmlXPathNodeSetAddNs		( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  cur, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  node, 					 libxml2-tree.html#xmlNsPtrxmlNsPtr  ns)add a new namespace node to an existing NodeSet
cur: the initial node set node: the hosting node ns: a the namespace node         
        
xmlXPathNodeSetAddUnique ()
void	xmlXPathNodeSetAddUnique	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  cur, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  val)add a new libxml2-tree.html#xmlNodePtrxmlNodePtr  to an existing NodeSet, optimized version when we are sure the node is not already in the set.
cur: the initial node set val: a new libxml2-tree.html#xmlNodePtrxmlNodePtr         
        
xmlXPathNodeSetContains ()
int	xmlXPathNodeSetContains		( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  cur, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  val)checks whether @cur contains @val
cur: the node-set val: the node Returns: true (1) if @cur contains @val, false (0) otherwise         
        
xmlXPathNodeSetDel ()
void	xmlXPathNodeSetDel		( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  cur, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  val)Removes an libxml2-tree.html#xmlNodePtrxmlNodePtr  from an existing NodeSet
cur: the initial node set val: an libxml2-tree.html#xmlNodePtrxmlNodePtr         
        
xmlXPathNodeSetFreeNs ()
void	xmlXPathNodeSetFreeNs		( libxml2-tree.html#xmlNsPtrxmlNsPtr  ns)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
ns: the XPath namespace node found in a nodeset.         
        
xmlXPathNodeSetMerge ()
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	xmlXPathNodeSetMerge	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  val1, 					 libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  val2)Merges two nodesets, all nodes from @val2 are added to @val1 if @val1 is NULL, a new set is created and copied from @val2
val1: the first NodeSet or NULL val2: the second NodeSet Returns: @val1 once extended or NULL in case of error.         
        
xmlXPathNodeSetRemove ()
void	xmlXPathNodeSetRemove		( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  cur, 					 int val)Removes an entry from an existing NodeSet list.
cur: the initial node set val: the index to remove         
        
xmlXPathNodeSetSort ()
void	xmlXPathNodeSetSort		( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  set)Sort the node set in document order
set: the node set         
        
xmlXPathNodeTrailing ()
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	xmlXPathNodeTrailing	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  node)Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set) @nodes is sorted by document order, then #xmlXPathNodeTrailingSorted is called.
nodes: a node-set node: a node Returns: 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         
        
xmlXPathNodeTrailingSorted ()
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	xmlXPathNodeTrailingSorted	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes, 						 libxml2-tree.html#xmlNodePtrxmlNodePtr  node)Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set)
nodes: a node-set, sorted by document order node: a node Returns: 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         
        
xmlXPathNormalizeFunction ()
void	xmlXPathNormalizeFunction	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)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 libxml2-SAX.html#characterscharacters  by a single space. Whitespace libxml2-SAX.html#characterscharacters  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.
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathNotEqualValues ()
int	xmlXPathNotEqualValues		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)Implement the equal operation on XPath objects content: @arg1 == @arg2
ctxt: the XPath Parser context Returns: 0 or 1 depending on the results of the test.         
        
xmlXPathNotFunction ()
void	xmlXPathNotFunction		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)Implement the not() XPath function boolean not(boolean) The not function returns true if its argument is false, and false otherwise.
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathNsLookup ()
const libxml2-xmlstring.html#xmlCharxmlChar  *	xmlXPathNsLookup	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * prefix)Search in the namespace declaration array of the context for the given namespace name associated to the given prefix
ctxt: the XPath context prefix: the namespace prefix value Returns: the value or NULL if not found         
        
xmlXPathNumberFunction ()
void	xmlXPathNumberFunction		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)Implement the number() XPath function number number(object?)
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathParseNCName ()
libxml2-xmlstring.html#xmlCharxmlChar  *	xmlXPathParseNCName	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)parse an XML namespace non qualified name. [NS 3] NCName ::= (Letter | '_') (NCNameChar)* [NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender
ctxt: the XPath Parser context Returns: the namespace name or NULL         
        
xmlXPathParseName ()
libxml2-xmlstring.html#xmlCharxmlChar  *	xmlXPathParseName	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)parse an XML name [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)*
ctxt: the XPath Parser context Returns: the namespace name or NULL         
        
xmlXPathPopBoolean ()
int	xmlXPathPopBoolean		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)Pops a boolean from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.
ctxt: an XPath parser context Returns: the boolean         
        
xmlXPathPopExternal ()
void *	xmlXPathPopExternal		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)Pops an external object from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.
ctxt: an XPath parser context Returns: the object         
        
xmlXPathPopNodeSet ()
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	xmlXPathPopNodeSet	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)Pops a node-set from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.
ctxt: an XPath parser context Returns: the node-set         
        
xmlXPathPopNumber ()
double	xmlXPathPopNumber		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)Pops a number from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.
ctxt: an XPath parser context Returns: the number         
        
xmlXPathPopString ()
libxml2-xmlstring.html#xmlCharxmlChar  *	xmlXPathPopString	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)Pops a string from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.
ctxt: an XPath parser context Returns: the string         
        
xmlXPathPositionFunction ()
void	xmlXPathPositionFunction	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)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().
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathRegisterAllFunctions ()
void	xmlXPathRegisterAllFunctions	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt)Registers all default XPath functions in this context
ctxt: the XPath context         
        
xmlXPathRegisterFunc ()
int	xmlXPathRegisterFunc		( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 libxml2-xpath.html#xmlXPathFunctionxmlXPathFunction  f)Register a new function. If @f is NULL it unregisters the function
ctxt: the XPath context name: the function name f: the function implementation or NULL Returns: 0 in case of success, -1 in case of error         
        
xmlXPathRegisterFuncLookup ()
void	xmlXPathRegisterFuncLookup	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 					 libxml2-xpath.html#xmlXPathFuncLookupFuncxmlXPathFuncLookupFunc  f, 					 void * funcCtxt)Registers an external mechanism to do function lookup.
ctxt: the XPath context f: the lookup function funcCtxt: the lookup data         
        
xmlXPathRegisterFuncNS ()
int	xmlXPathRegisterFuncNS		( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ns_uri, 					 libxml2-xpath.html#xmlXPathFunctionxmlXPathFunction  f)Register a new function. If @f is NULL it unregisters the function
ctxt: the XPath context name: the function name ns_uri: the function namespace URI f: the function implementation or NULL Returns: 0 in case of success, -1 in case of error         
        
xmlXPathRegisterNs ()
int	xmlXPathRegisterNs		( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * prefix, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ns_uri)Register a new namespace. If @ns_uri is NULL it unregisters the namespace
ctxt: the XPath context prefix: the namespace prefix ns_uri: the namespace name Returns: 0 in case of success, -1 in case of error         
        
xmlXPathRegisterVariable ()
int	xmlXPathRegisterVariable	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr  value)Register a new variable value. If @value is NULL it unregisters the variable
ctxt: the XPath context name: the variable name value: the variable value or NULL Returns: 0 in case of success, -1 in case of error         
        
xmlXPathRegisterVariableLookup ()
void	xmlXPathRegisterVariableLookup	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 					 libxml2-xpath.html#xmlXPathVariableLookupFuncxmlXPathVariableLookupFunc  f, 					 void * data)register an external mechanism to do variable lookup
ctxt: the XPath context f: the lookup function data: the lookup data         
        
xmlXPathRegisterVariableNS ()
int	xmlXPathRegisterVariableNS	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ns_uri, 					 libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr  value)Register a new variable value. If @value is NULL it unregisters the variable
ctxt: the XPath context name: the variable name ns_uri: the variable namespace URI value: the variable value or NULL Returns: 0 in case of success, -1 in case of error         
        
xmlXPathRegisteredFuncsCleanup ()
void	xmlXPathRegisteredFuncsCleanup	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt)Cleanup the XPath context data associated to registered functions
ctxt: the XPath context         
        
xmlXPathRegisteredNsCleanup ()
void	xmlXPathRegisteredNsCleanup	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt)Cleanup the XPath context data associated to registered variables
ctxt: the XPath context         
        
xmlXPathRegisteredVariablesCleanup ()
void	xmlXPathRegisteredVariablesCleanup	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt)Cleanup the XPath context data associated to registered variables
ctxt: the XPath context         
        
xmlXPathRoot ()
void	xmlXPathRoot			( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)Initialize the context to the root of the document
ctxt: the XPath Parser context         
        
xmlXPathRoundFunction ()
void	xmlXPathRoundFunction		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)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 even is returned.
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathStartsWithFunction ()
void	xmlXPathStartsWithFunction	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)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.
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathStringEvalNumber ()
double	xmlXPathStringEvalNumber	(const libxml2-xmlstring.html#xmlCharxmlChar  * str)[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.
str: A string to scan Returns: the double value.         
        
xmlXPathStringFunction ()
void	xmlXPathStringFunction		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)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.
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathStringLengthFunction ()
void	xmlXPathStringLengthFunction	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)Implement the string-length() XPath function number string-length(string?) The string-length returns the number of libxml2-SAX.html#characterscharacters  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.
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathSubValues ()
void	xmlXPathSubValues		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)Implement the subtraction operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.
ctxt: the XPath Parser context         
        
xmlXPathSubstringAfterFunction ()
void	xmlXPathSubstringAfterFunction	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)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.
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathSubstringBeforeFunction ()
void	xmlXPathSubstringBeforeFunction	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)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.
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathSubstringFunction ()
void	xmlXPathSubstringFunction	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)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 libxml2-SAX.html#characterscharacters  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 ""
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathSumFunction ()
void	xmlXPathSumFunction		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)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.
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathTrailing ()
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	xmlXPathTrailing	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes1, 					 libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes2)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.
nodes1: a node-set nodes2: a node-set Returns: 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         
        
xmlXPathTrailingSorted ()
libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr 	xmlXPathTrailingSorted	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes1, 					 libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  nodes2)Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set)
nodes1: a node-set, sorted by document order nodes2: a node-set, sorted by document order Returns: 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         
        
xmlXPathTranslateFunction ()
void	xmlXPathTranslateFunction	( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)Implement the translate() XPath function string translate(string, string, string) The translate function returns the first argument string with occurrences of libxml2-SAX.html#characterscharacters  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")
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathTrueFunction ()
void	xmlXPathTrueFunction		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 int nargs)Implement the true() XPath function boolean true()
ctxt: the XPath Parser context nargs: the number of arguments         
        
xmlXPathValueFlipSign ()
void	xmlXPathValueFlipSign		( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt)Implement the unary - operation on an XPath object The numeric operators convert their operands to numbers as if by calling the number function.
ctxt: the XPath Parser context         
        
xmlXPathVariableLookup ()
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	xmlXPathVariableLookup	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 						 const libxml2-xmlstring.html#xmlCharxmlChar  * name)Search in the Variable array of the context for the given variable value.
ctxt: the XPath context name: the variable name Returns: a copy of the value or NULL if not found         
        
xmlXPathVariableLookupNS ()
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	xmlXPathVariableLookupNS	( libxml2-xpath.html#xmlXPathContextPtrxmlXPathContextPtr  ctxt, 							 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 							 const libxml2-xmlstring.html#xmlCharxmlChar  * ns_uri)Search in the Variable array of the context for the given variable value.
ctxt: the XPath context name: the variable name ns_uri: the variable namespace URI Returns: the a copy of the value or NULL if not found         
        
xmlXPathWrapCString ()
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	xmlXPathWrapCString	(char * val)Wraps a string into an XPath object.
val: the char * value Returns: the newly created object.         
        
xmlXPathWrapExternal ()
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	xmlXPathWrapExternal	(void * val)Wraps the @val data into an XPath object.
val: the user data Returns: the newly created object.         
        
xmlXPathWrapNodeSet ()
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	xmlXPathWrapNodeSet	( libxml2-xpath.html#xmlNodeSetPtrxmlNodeSetPtr  val)Wrap the Nodeset @val in a new libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 
val: the NodePtr value Returns: the newly created object.         
        
xmlXPathWrapString ()
libxml2-xpath.html#xmlXPathObjectPtrxmlXPathObjectPtr 	xmlXPathWrapString	( libxml2-xmlstring.html#xmlCharxmlChar  * val)Wraps the @val string into an XPath object.
val: the libxml2-xmlstring.html#xmlCharxmlChar  * value Returns: the newly created object.         
        
xmlXPatherror ()
void	xmlXPatherror			( libxml2-xpath.html#xmlXPathParserContextPtrxmlXPathParserContextPtr  ctxt, 					 const char * file, 					 int line, 					 int no)Formats an error message.
ctxt: the XPath Parser context file: the file name line: the line number no: the error number         
      
    
  
