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

Function xmlXPathNewValueTree

ThirdParty/libxml2/vtklibxml2/xpath.c:3416–3426  ·  view source on GitHub ↗

* xmlXPathNewValueTree: * @val: the NodePtr value * * Create a new xmlXPathObjectPtr of type Value Tree (XSLT) and initialize * it with the tree root @val * * Returns the newly created object. */

Source from the content-addressed store, hash-verified

3414 * Returns the newly created object.
3415 */
3416xmlXPathObjectPtr
3417xmlXPathNewValueTree(xmlNodePtr val) {
3418 xmlXPathObjectPtr ret;
3419
3420 ret = xmlXPathNewNodeSet(val);
3421 if (ret == NULL)
3422 return(NULL);
3423 ret->type = XPATH_XSLT_TREE;
3424
3425 return(ret);
3426}
3427
3428/**
3429 * xmlXPathNewNodeSetList:

Callers

nothing calls this directly

Calls 1

xmlXPathNewNodeSetFunction · 0.85

Tested by

no test coverage detected