* 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. */
| 3414 | * Returns the newly created object. |
| 3415 | */ |
| 3416 | xmlXPathObjectPtr |
| 3417 | xmlXPathNewValueTree(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: |
nothing calls this directly
no test coverage detected