Lines Matching refs:curns
164 xmlNsPtr nsptr, nsdftptr, curns, prevns = NULL; in dom_reconcile_ns() local
169 curns = nodep->nsDef; in dom_reconcile_ns()
170 while (curns) { in dom_reconcile_ns()
171 nsdftptr = curns->next; in dom_reconcile_ns()
172 if (curns->href != NULL) { in dom_reconcile_ns()
173 if((nsptr = xmlSearchNsByHref(doc, nodep->parent, curns->href)) && in dom_reconcile_ns()
174 (curns->prefix == NULL || xmlStrEqual(nsptr->prefix, curns->prefix))) { in dom_reconcile_ns()
175 curns->next = NULL; in dom_reconcile_ns()
181 dom_set_old_ns(doc, curns); in dom_reconcile_ns()
182 curns = prevns; in dom_reconcile_ns()
185 prevns = curns; in dom_reconcile_ns()
186 curns = nsdftptr; in dom_reconcile_ns()
705 xmlNsPtr ns = NULL, curns; in dom_node_prefix_write() local
737 curns = nsnode->nsDef; in dom_node_prefix_write()
738 while (curns != 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()
743 curns = curns->next; in dom_node_prefix_write()