Lines Matching refs:ns

41 	xmlNsPtr ns;  in dom_node_node_name_read()  local
55 ns = nodep->ns; in dom_node_node_name_read()
56 if (ns != NULL && ns->prefix) { in dom_node_node_name_read()
57 qname = xmlStrdup(ns->prefix); in dom_node_node_name_read()
66 ns = nodep->ns; in dom_node_node_name_read()
67 if (ns != NULL && ns->prefix) { in dom_node_node_name_read()
545 if (nodep->ns != NULL) { in dom_node_namespace_uri_read()
546 str = (char *) nodep->ns->href; in dom_node_namespace_uri_read()
573 xmlNsPtr ns; in dom_node_prefix_read() local
585 ns = nodep->ns; in dom_node_prefix_read()
586 if (ns != NULL && ns->prefix) { in dom_node_prefix_read()
587 str = (char *) ns->prefix; in dom_node_prefix_read()
608 xmlNsPtr ns = NULL, curns; in dom_node_prefix_write() local
636 if (nsnode && nodep->ns != NULL && !xmlStrEqual(nodep->ns->prefix, (xmlChar *)prefix)) { in dom_node_prefix_write()
637 strURI = (char *) nodep->ns->href; in dom_node_prefix_write()
643 ns = NULL; in dom_node_prefix_write()
647 … if (xmlStrEqual((xmlChar *)prefix, curns->prefix) && xmlStrEqual(nodep->ns->href, curns->href)) { in dom_node_prefix_write()
648 ns = curns; in dom_node_prefix_write()
653 if (ns == NULL) { in dom_node_prefix_write()
654 ns = xmlNewNs(nsnode, nodep->ns->href, (xmlChar *)prefix); in dom_node_prefix_write()
658 if (ns == NULL) { in dom_node_prefix_write()
664 xmlSetNs(nodep, ns); in dom_node_prefix_write()
933 if (child->ns == NULL) in PHP_METHOD()
936 lastattr = xmlHasNsProp(refp->parent, child->name, child->ns->href); in PHP_METHOD()
983 if (child->ns == NULL) in PHP_METHOD()
986 lastattr = xmlHasNsProp(parentp, child->name, child->ns->href); in PHP_METHOD()
1222 if (child->ns == NULL) in PHP_METHOD()
1225 lastattr = xmlHasNsProp(nodep, child->name, child->ns->href); in PHP_METHOD()
1315 if (n->ns != NULL) { in PHP_METHOD()
1316 xmlNsPtr ns; in PHP_METHOD() local
1317 ns = xmlSearchNs(n->doc, node, n->ns->prefix); in PHP_METHOD()
1318 if (ns == NULL) { in PHP_METHOD()
1319 ns = xmlSearchNs(n->doc, n, n->ns->prefix); in PHP_METHOD()
1320 if (ns != NULL) { in PHP_METHOD()
1326 node->ns = xmlNewNs(root, ns->href, ns->prefix); in PHP_METHOD()
1329 node->ns = ns; in PHP_METHOD()