Lines Matching refs:tree
17 #include <libxml/tree.h>
90 xmlXIncludeDoProcess(xmlXIncludeCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr tree);
882 * Build a node list tree copy of the XPointer result.
885 * The caller has to free the node tree.
916 * list is the pointer to the root of the output tree
917 * listParent is a pointer to the parent of output tree (within
919 * last is a pointer to the last node added to the output tree
924 * Check if our output tree needs a parent
1054 /* don't consider it part of the tree content */
1094 * Build a node list tree copy of the XPointer result.
1098 * the caller has to free the node tree.
2310 * @tree: the top of the tree to process
2318 xmlXIncludeDoProcess(xmlXIncludeCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr tree) {
2323 if ((doc == NULL) || (tree == NULL))
2338 cur = tree;
2341 while ((cur != NULL) && (cur != tree->parent)) {
2355 if (cur == tree)
2359 if ((cur == NULL) || (cur == tree->parent))
2434 xmlNodePtr tree;
2439 tree = xmlDocGetRootElement(doc);
2440 if (tree == NULL)
2448 ret = xmlXIncludeDoProcess(ctxt, doc, tree);
2487 * @tree: a node in an XML document
2496 xmlXIncludeProcessTreeFlags(xmlNodePtr tree, int flags) {
2500 if ((tree == NULL) || (tree->doc == NULL))
2502 ctxt = xmlXIncludeNewContext(tree->doc);
2505 ctxt->base = xmlNodeGetBase(tree->doc, tree);
2507 ret = xmlXIncludeDoProcess(ctxt, tree->doc, tree);
2517 * @tree: a node in an XML document
2525 xmlXIncludeProcessTree(xmlNodePtr tree) {
2526 return(xmlXIncludeProcessTreeFlags(tree, 0));