Lines Matching refs:ns

200 	xmlNsPtr ns;  in dom_node_node_name_read()  local
214 ns = nodep->ns; in dom_node_node_name_read()
215 if (ns != NULL && ns->prefix) { in dom_node_node_name_read()
216 qname = xmlStrdup(ns->prefix); in dom_node_node_name_read()
225 ns = nodep->ns; in dom_node_node_name_read()
226 if (ns != NULL && ns->prefix) { in dom_node_node_name_read()
639 if (nodep->ns != NULL) { in dom_node_namespace_uri_read()
640 str = (char *) nodep->ns->href; in dom_node_namespace_uri_read()
667 xmlNsPtr ns; in dom_node_prefix_read() local
679 ns = nodep->ns; in dom_node_prefix_read()
680 if (ns != NULL && ns->prefix) { in dom_node_prefix_read()
681 str = (char *) ns->prefix; in dom_node_prefix_read()
702 xmlNsPtr ns = NULL, curns; in dom_node_prefix_write() local
729 if (nsnode && nodep->ns != NULL && !xmlStrEqual(nodep->ns->prefix, (xmlChar *)prefix)) { in dom_node_prefix_write()
730 strURI = (char *) nodep->ns->href; in dom_node_prefix_write()
736 ns = NULL; in dom_node_prefix_write()
740 … if (xmlStrEqual((xmlChar *)prefix, curns->prefix) && xmlStrEqual(nodep->ns->href, curns->href)) { in dom_node_prefix_write()
741 ns = curns; in dom_node_prefix_write()
746 if (ns == NULL) { in dom_node_prefix_write()
747 ns = xmlNewNs(nsnode, nodep->ns->href, (xmlChar *)prefix); in dom_node_prefix_write()
751 if (ns == NULL) { in dom_node_prefix_write()
757 xmlSetNs(nodep, ns); in dom_node_prefix_write()
1015 if (child->ns == NULL) in PHP_FUNCTION()
1018 lastattr = xmlHasNsProp(refp->parent, child->name, child->ns->href); in PHP_FUNCTION()
1057 if (child->ns == NULL) in PHP_FUNCTION()
1060 lastattr = xmlHasNsProp(parentp, child->name, child->ns->href); in PHP_FUNCTION()
1305 if (child->ns == NULL) in PHP_FUNCTION()
1308 lastattr = xmlHasNsProp(nodep, child->name, child->ns->href); in PHP_FUNCTION()
1393 if (n->ns != NULL) { in PHP_FUNCTION()
1394 xmlNsPtr ns; in PHP_FUNCTION() local
1395 ns = xmlSearchNs(n->doc, node, n->ns->prefix); in PHP_FUNCTION()
1396 if (ns == NULL) { in PHP_FUNCTION()
1397 ns = xmlSearchNs(n->doc, n, n->ns->prefix); in PHP_FUNCTION()
1398 if (ns != NULL) { in PHP_FUNCTION()
1404 node->ns = xmlNewNs(root, ns->href, ns->prefix); in PHP_FUNCTION()
1407 node->ns = ns; in PHP_FUNCTION()