Lines Matching refs:ns

202 	xmlNsPtr ns;  in dom_node_node_name_read()  local
216 ns = nodep->ns; in dom_node_node_name_read()
217 if (ns != NULL && ns->prefix) { in dom_node_node_name_read()
218 qname = xmlStrdup(ns->prefix); in dom_node_node_name_read()
227 ns = nodep->ns; in dom_node_node_name_read()
228 if (ns != NULL && ns->prefix) { in dom_node_node_name_read()
642 if (nodep->ns != NULL) { in dom_node_namespace_uri_read()
643 str = (char *) nodep->ns->href; in dom_node_namespace_uri_read()
670 xmlNsPtr ns; in dom_node_prefix_read() local
682 ns = nodep->ns; in dom_node_prefix_read()
683 if (ns != NULL && ns->prefix) { in dom_node_prefix_read()
684 str = (char *) ns->prefix; in dom_node_prefix_read()
705 xmlNsPtr ns = NULL, curns; in dom_node_prefix_write() local
728 if (nsnode && nodep->ns != NULL && !xmlStrEqual(nodep->ns->prefix, (xmlChar *)prefix)) { in dom_node_prefix_write()
729 strURI = (char *) nodep->ns->href; in dom_node_prefix_write()
735 ns = NULL; in dom_node_prefix_write()
739 … if (xmlStrEqual((xmlChar *)prefix, curns->prefix) && xmlStrEqual(nodep->ns->href, curns->href)) { in dom_node_prefix_write()
740 ns = curns; in dom_node_prefix_write()
745 if (ns == NULL) { in dom_node_prefix_write()
746 ns = xmlNewNs(nsnode, nodep->ns->href, (xmlChar *)prefix); in dom_node_prefix_write()
750 if (ns == NULL) { in dom_node_prefix_write()
756 xmlSetNs(nodep, ns); in dom_node_prefix_write()
1009 if (child->ns == NULL) in PHP_FUNCTION()
1012 lastattr = xmlHasNsProp(refp->parent, child->name, child->ns->href); in PHP_FUNCTION()
1051 if (child->ns == NULL) in PHP_FUNCTION()
1054 lastattr = xmlHasNsProp(parentp, child->name, child->ns->href); in PHP_FUNCTION()
1296 if (child->ns == NULL) in PHP_FUNCTION()
1299 lastattr = xmlHasNsProp(nodep, child->name, child->ns->href); in PHP_FUNCTION()
1382 if (n->ns != NULL) { in PHP_FUNCTION()
1383 xmlNsPtr ns; in PHP_FUNCTION() local
1384 ns = xmlSearchNs(n->doc, node, n->ns->prefix); in PHP_FUNCTION()
1385 if (ns == NULL) { in PHP_FUNCTION()
1386 ns = xmlSearchNs(n->doc, n, n->ns->prefix); in PHP_FUNCTION()
1387 if (ns != NULL) { in PHP_FUNCTION()
1393 node->ns = xmlNewNs(root, ns->href, ns->prefix); in PHP_FUNCTION()
1396 node->ns = ns; in PHP_FUNCTION()