Lines Matching refs:tree
17 #include <libxml/tree.h>
90 xmlXIncludeDoProcess(xmlXIncludeCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr tree);
895 * Build a node list tree copy of the XPointer result.
898 * The caller has to free the node tree.
929 * list is the pointer to the root of the output tree
930 * listParent is a pointer to the parent of output tree (within
932 * last is a pointer to the last node added to the output tree
937 * Check if our output tree needs a parent
1067 /* don't consider it part of the tree content */
1107 * Build a node list tree copy of the XPointer result.
1111 * the caller has to free the node tree.
2318 * @tree: the top of the tree to process
2326 xmlXIncludeDoProcess(xmlXIncludeCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr tree) {
2331 if ((doc == NULL) || (tree == NULL))
2346 cur = tree;
2349 while ((cur != NULL) && (cur != tree->parent)) {
2363 if (cur == tree)
2367 if ((cur == NULL) || (cur == tree->parent))
2442 xmlNodePtr tree;
2447 tree = xmlDocGetRootElement(doc);
2448 if (tree == NULL)
2456 ret = xmlXIncludeDoProcess(ctxt, doc, tree);
2495 * @tree: a node in an XML document
2504 xmlXIncludeProcessTreeFlags(xmlNodePtr tree, int flags) {
2508 if ((tree == NULL) || (tree->doc == NULL))
2510 ctxt = xmlXIncludeNewContext(tree->doc);
2513 ctxt->base = xmlNodeGetBase(tree->doc, tree);
2515 ret = xmlXIncludeDoProcess(ctxt, tree->doc, tree);
2525 * @tree: a node in an XML document
2533 xmlXIncludeProcessTree(xmlNodePtr tree) {
2534 return(xmlXIncludeProcessTreeFlags(tree, 0));