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()
700 if (nodep->ns != NULL) { in dom_node_namespace_uri_read()
701 str = (char *) nodep->ns->href; in dom_node_namespace_uri_read()
730 xmlNsPtr ns; in dom_node_prefix_read() local
744 ns = nodep->ns; in dom_node_prefix_read()
745 if (ns != NULL && ns->prefix) { in dom_node_prefix_read()
746 str = (char *) ns->prefix; in dom_node_prefix_read()
769 xmlNsPtr ns = NULL, curns; in dom_node_prefix_write() local
792 if (nsnode && nodep->ns != NULL && !xmlStrEqual(nodep->ns->prefix, (xmlChar *)prefix)) { in dom_node_prefix_write()
793 strURI = (char *) nodep->ns->href; in dom_node_prefix_write()
799 ns = NULL; in dom_node_prefix_write()
803 … if (xmlStrEqual((xmlChar *)prefix, curns->prefix) && xmlStrEqual(nodep->ns->href, curns->href)) { in dom_node_prefix_write()
804 ns = curns; in dom_node_prefix_write()
809 if (ns == NULL) { in dom_node_prefix_write()
810 ns = xmlNewNs(nsnode, nodep->ns->href, (xmlChar *)prefix); in dom_node_prefix_write()
814 if (ns == NULL) { in dom_node_prefix_write()
822 xmlSetNs(nodep, ns); in dom_node_prefix_write()
1083 if (child->ns == NULL) in PHP_FUNCTION()
1086 lastattr = xmlHasNsProp(refp->parent, child->name, child->ns->href); in PHP_FUNCTION()
1125 if (child->ns == NULL) in PHP_FUNCTION()
1128 lastattr = xmlHasNsProp(parentp, child->name, child->ns->href); in PHP_FUNCTION()
1370 if (child->ns == NULL) in PHP_FUNCTION()
1373 lastattr = xmlHasNsProp(nodep, child->name, child->ns->href); in PHP_FUNCTION()
1456 if (n->ns != NULL) { in PHP_FUNCTION()
1457 xmlNsPtr ns; in PHP_FUNCTION() local
1458 ns = xmlSearchNs(n->doc, node, n->ns->prefix); in PHP_FUNCTION()
1459 if (ns == NULL) { in PHP_FUNCTION()
1460 ns = xmlSearchNs(n->doc, n, n->ns->prefix); in PHP_FUNCTION()
1461 if (ns != NULL) { in PHP_FUNCTION()
1467 node->ns = xmlNewNs(root, ns->href, ns->prefix); in PHP_FUNCTION()
1470 node->ns = ns; in PHP_FUNCTION()