Searched refs:xpathExpr (Results 1 - 2 of 2) sorted by relevance

/vbox/src/libs/libxml2-2.6.31/doc/examples/
H A Dxpath2.c26 static int example4(const char *filename, const xmlChar * xpathExpr,
76 * @xpathExpr: the xpath expression for evaluation.
85 example4(const char* filename, const xmlChar* xpathExpr, const xmlChar* value) { argument
91 assert(xpathExpr);
110 xpathObj = xmlXPathEvalExpression(xpathExpr, xpathCtx);
112 fprintf(stderr,"Error: unable to evaluate xpath expression \"%s\"\n", xpathExpr);
H A Dxpath1.c25 int execute_xpath_expression(const char* filename, const xmlChar* xpathExpr, const xmlChar* nsList);
76 * @xpathExpr: the xpath expression for evaluation.
85 execute_xpath_expression(const char* filename, const xmlChar* xpathExpr, const xmlChar* nsList) { argument
91 assert(xpathExpr);
117 xpathObj = xmlXPathEvalExpression(xpathExpr, xpathCtx);
119 fprintf(stderr,"Error: unable to evaluate xpath expression \"%s\"\n", xpathExpr);

Completed in 2816 milliseconds