HomeSort by relevance Sort by last modified time
    Searched refs:xpathCtx (Results 1 - 2 of 2) sorted by null

  /external/libxml2/doc/examples/
xpath1.c 26 int register_namespaces(xmlXPathContextPtr xpathCtx, const xmlChar* nsList);
87 xmlXPathContextPtr xpathCtx;
101 xpathCtx = xmlXPathNewContext(doc);
102 if(xpathCtx == NULL) {
109 if((nsList != NULL) && (register_namespaces(xpathCtx, nsList) < 0)) {
111 xmlXPathFreeContext(xpathCtx);
117 xpathObj = xmlXPathEvalExpression(xpathExpr, xpathCtx);
120 xmlXPathFreeContext(xpathCtx);
130 xmlXPathFreeContext(xpathCtx);
138 * @xpathCtx: the pointer to an XPath context
    [all...]
xpath2.c 87 xmlXPathContextPtr xpathCtx;
102 xpathCtx = xmlXPathNewContext(doc);
103 if(xpathCtx == NULL) {
110 xpathObj = xmlXPathEvalExpression(xpathExpr, xpathCtx);
113 xmlXPathFreeContext(xpathCtx);
124 xmlXPathFreeContext(xpathCtx);

Completed in 172 milliseconds