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()
392 ctxp->node = nodep; in php_xpath_eval()
409 ctxp->node = NULL; in php_xpath_eval()
439 xmlNodePtr node = nodesetp->nodeTab[i]; in php_xpath_eval() local
442 if (node->type == XML_NAMESPACE_DECL) { in php_xpath_eval()
446 nsparent = node->_private; in php_xpath_eval()
447 curns = xmlNewNs(NULL, node->name, NULL); in php_xpath_eval()
448 if (node->children) { in php_xpath_eval()
449 curns->prefix = xmlStrdup((xmlChar *) node->children); in php_xpath_eval()
451 if (node->children) { in php_xpath_eval()
452 node = xmlNewDocNode(docp, NULL, (xmlChar *) node->children, node->name); in php_xpath_eval()
454 node = xmlNewDocNode(docp, NULL, (xmlChar *) "xmlns", node->name); in php_xpath_eval()
456 node->type = XML_NAMESPACE_DECL; in php_xpath_eval()
457 node->parent = nsparent; in php_xpath_eval()
458 node->ns = curns; in php_xpath_eval()
460 php_dom_create_object(node, &child, &intern->dom); in php_xpath_eval()