Lines Matching refs:node

145 							xmlNodePtr node = obj->nodesetval->nodeTab[j];  in dom_xpath_ext_function_php()  local
149 if (node->type == XML_NAMESPACE_DECL) { in dom_xpath_ext_function_php()
153 nsparent = node->_private; in dom_xpath_ext_function_php()
154 curns = xmlNewNs(NULL, node->name, NULL); in dom_xpath_ext_function_php()
155 if (node->children) { in dom_xpath_ext_function_php()
156 curns->prefix = xmlStrdup((xmlChar *) node->children); in dom_xpath_ext_function_php()
158 if (node->children) { in dom_xpath_ext_function_php()
159 node = xmlNewDocNode(node->doc, NULL, (xmlChar *) node->children, node->name); in dom_xpath_ext_function_php()
161 node = xmlNewDocNode(node->doc, NULL, (xmlChar *) "xmlns", node->name); in dom_xpath_ext_function_php()
163 node->type = XML_NAMESPACE_DECL; in dom_xpath_ext_function_php()
164 node->parent = nsparent; in dom_xpath_ext_function_php()
165 node->ns = curns; in dom_xpath_ext_function_php()
167 child = php_dom_create_object(node, &ret, child, (dom_object *)intern TSRMLS_CC); in dom_xpath_ext_function_php()
431 ctxp->node = nodep; in php_xpath_eval()
448 ctxp->node = NULL; in php_xpath_eval()
479 xmlNodePtr node = nodesetp->nodeTab[i]; in php_xpath_eval() local
484 if (node->type == XML_NAMESPACE_DECL) { in php_xpath_eval()
488 nsparent = node->_private; in php_xpath_eval()
489 curns = xmlNewNs(NULL, node->name, NULL); in php_xpath_eval()
490 if (node->children) { in php_xpath_eval()
491 curns->prefix = xmlStrdup((char *) node->children); in php_xpath_eval()
493 if (node->children) { in php_xpath_eval()
494 node = xmlNewDocNode(docp, NULL, (char *) node->children, node->name); in php_xpath_eval()
496 node = xmlNewDocNode(docp, NULL, "xmlns", node->name); in php_xpath_eval()
498 node->type = XML_NAMESPACE_DECL; in php_xpath_eval()
499 node->parent = nsparent; in php_xpath_eval()
500 node->ns = curns; in php_xpath_eval()
502 child = php_dom_create_object(node, &ret, child, (dom_object *)intern TSRMLS_CC); in php_xpath_eval()