MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlXPathRoot

Function xmlXPathRoot

ThirdParty/libxml2/vtklibxml2/xpath.c:7401–7407  ·  view source on GitHub ↗

* xmlXPathRoot: * @ctxt: the XPath Parser context * * Initialize the context to the root of the document */

Source from the content-addressed store, hash-verified

7399 * Initialize the context to the root of the document
7400 */
7401void
7402xmlXPathRoot(xmlXPathParserContextPtr ctxt) {
7403 if ((ctxt == NULL) || (ctxt->context == NULL))
7404 return;
7405 valuePush(ctxt, xmlXPathCacheNewNodeSet(ctxt,
7406 (xmlNodePtr) ctxt->context->doc));
7407}
7408
7409/************************************************************************
7410 * *

Callers 5

xmlXPathCompOpEvalFirstFunction · 0.85
xmlXPathCompOpEvalLastFunction · 0.85
xmlXPathCompOpEvalFunction · 0.85
xmlXPtrEvalXPtrPartFunction · 0.85
xmlXPtrEvalXPointerFunction · 0.85

Calls 2

valuePushFunction · 0.85
xmlXPathCacheNewNodeSetFunction · 0.85

Tested by

no test coverage detected