xpath

Name

xpath —

Synopsis



#define     XPATH_UNDEFINED
#define     XPATH_NODESET
#define     XPATH_BOOLEAN
#define     XPATH_NUMBER
#define     XPATH_STRING
void        (*xmlXPathFunction)             (xmlXPathParserContextPtr ctxt,
                                             int nargs);
xmlXPathContextPtr xmlXPathNewContext       (xmlDocPtr doc,
                                             void *variables,
                                             void *functions,
                                             void *namespaces);
void        xmlXPathFreeContext             (xmlXPathContextPtr ctxt);
xmlXPathObjectPtr xmlXPathEval              (const CHAR *str,
                                             xmlXPathContextPtr ctxt);
void        xmlXPathFreeObject              (xmlXPathObjectPtr obj);
xmlXPathObjectPtr xmlXPathEvalExpression    (const CHAR *str,
                                             xmlXPathContextPtr ctxt);

Description

Details

XPATH_UNDEFINED

#define     XPATH_UNDEFINED


XPATH_NODESET

#define     XPATH_NODESET


XPATH_BOOLEAN

#define     XPATH_BOOLEAN


XPATH_NUMBER

#define     XPATH_NUMBER


XPATH_STRING

#define     XPATH_STRING


xmlXPathFunction ()

void        (*xmlXPathFunction)             (xmlXPathParserContextPtr ctxt,
                                             int nargs);

ctxt : 
nargs : 


xmlXPathNewContext ()

xmlXPathContextPtr xmlXPathNewContext       (xmlDocPtr doc,
                                             void *variables,
                                             void *functions,
                                             void *namespaces);

Create a new xmlXPathContext

doc : 
variables : 
functions : 
namespaces : 
Returns : 


xmlXPathFreeContext ()

void        xmlXPathFreeContext             (xmlXPathContextPtr ctxt);

Free up an xmlXPathContext

ctxt : 


xmlXPathEval ()

xmlXPathObjectPtr xmlXPathEval              (const CHAR *str,
                                             xmlXPathContextPtr ctxt);

Evaluate the XPath Location Path in the given context.

str : 
ctxt : 
Returns : 


xmlXPathFreeObject ()

void        xmlXPathFreeObject              (xmlXPathObjectPtr obj);

Free up an xmlXPathObjectPtr object.

obj : 


xmlXPathEvalExpression ()

xmlXPathObjectPtr xmlXPathEvalExpression    (const CHAR *str,
                                             xmlXPathContextPtr ctxt);

Evaluate the XPath expression in the given context.

str : 
ctxt : 
Returns :