Lines Matching refs:xpathDocument
2340 static xmlDocPtr xpathDocument; variable
2359 ctxt = xmlXPtrNewContext(xpathDocument, NULL, NULL); in testXPath()
2363 ctxt = xmlXPathNewContext(xpathDocument); in testXPath()
2364 ctxt->node = xmlDocGetRootElement(xpathDocument); in testXPath()
2497 xpathDocument = xmlReadFile(filename, NULL, in xpathDocTest()
2499 if (xpathDocument == NULL) { in xpathDocTest()
2517 xmlFreeDoc(xpathDocument); in xpathDocTest()
2545 xpathDocument = xmlReadFile(filename, NULL, in xptrDocTest()
2547 if (xpathDocument == NULL) { in xptrDocTest()
2565 xmlFreeDoc(xpathDocument); in xptrDocTest()
2591 xpathDocument = xmlReadFile(filename, NULL, in xmlidDocTest()
2593 if (xpathDocument == NULL) { in xmlidDocTest()
2606 xmlFreeDoc(xpathDocument); in xmlidDocTest()
2626 xmlFreeDoc(xpathDocument); in xmlidDocTest()