Lines Matching refs:node

140 							xmlNodePtr node = obj->nodesetval->nodeTab[j];  in dom_xpath_ext_function_php()  local
143 if (node->type == XML_NAMESPACE_DECL) { in dom_xpath_ext_function_php()
147 nsparent = node->_private; in dom_xpath_ext_function_php()
148 curns = xmlNewNs(NULL, node->name, NULL); in dom_xpath_ext_function_php()
149 if (node->children) { in dom_xpath_ext_function_php()
150 curns->prefix = xmlStrdup((xmlChar *) node->children); in dom_xpath_ext_function_php()
152 if (node->children) { in dom_xpath_ext_function_php()
153 node = xmlNewDocNode(node->doc, NULL, (xmlChar *) node->children, node->name); in dom_xpath_ext_function_php()
155 node = xmlNewDocNode(node->doc, NULL, (xmlChar *) "xmlns", node->name); in dom_xpath_ext_function_php()
157 node->type = XML_NAMESPACE_DECL; in dom_xpath_ext_function_php()
158 node->parent = nsparent; in dom_xpath_ext_function_php()
159 node->ns = curns; in dom_xpath_ext_function_php()
161 php_dom_create_object(node, &child, &intern->dom); in dom_xpath_ext_function_php()
394 ctxp->node = nodep; in php_xpath_eval()
411 ctxp->node = NULL; in php_xpath_eval()
441 xmlNodePtr node = nodesetp->nodeTab[i]; in php_xpath_eval() local
444 if (node->type == XML_NAMESPACE_DECL) { in php_xpath_eval()
448 nsparent = node->_private; in php_xpath_eval()
449 curns = xmlNewNs(NULL, node->name, NULL); in php_xpath_eval()
450 if (node->children) { in php_xpath_eval()
451 curns->prefix = xmlStrdup((xmlChar *) node->children); in php_xpath_eval()
453 if (node->children) { in php_xpath_eval()
454 node = xmlNewDocNode(docp, NULL, (xmlChar *) node->children, node->name); in php_xpath_eval()
456 node = xmlNewDocNode(docp, NULL, (xmlChar *) "xmlns", node->name); in php_xpath_eval()
458 node->type = XML_NAMESPACE_DECL; in php_xpath_eval()
459 node->parent = nsparent; in php_xpath_eval()
460 node->ns = curns; in php_xpath_eval()
462 php_dom_create_object(node, &child, &intern->dom); in php_xpath_eval()