Lines Matching refs:prefix

84 	ZEND_ARG_INFO(0, prefix)
174 (curns->prefix == NULL || xmlStrEqual(nsptr->prefix, curns->prefix))) { in dom_reconcile_ns()
217 if (ns != NULL && ns->prefix) { in dom_node_node_name_read()
218 qname = xmlStrdup(ns->prefix); in dom_node_node_name_read()
228 if (ns != NULL && ns->prefix) { in dom_node_node_name_read()
683 if (ns != NULL && ns->prefix) { in dom_node_prefix_read()
684 str = (char *) ns->prefix; in dom_node_prefix_read()
707 char *prefix; in dom_node_prefix_write() local
727 prefix = ZSTR_VAL(str); in dom_node_prefix_write()
728 if (nsnode && nodep->ns != NULL && !xmlStrEqual(nodep->ns->prefix, (xmlChar *)prefix)) { in dom_node_prefix_write()
731 (!strcmp(prefix, "xml") && strcmp(strURI, (char *) XML_XML_NAMESPACE)) || in dom_node_prefix_write()
732 (nodep->type == XML_ATTRIBUTE_NODE && !strcmp(prefix, "xmlns") && in dom_node_prefix_write()
739 … if (xmlStrEqual((xmlChar *)prefix, curns->prefix) && xmlStrEqual(nodep->ns->href, curns->href)) { in dom_node_prefix_write()
746 ns = xmlNewNs(nsnode, nodep->ns->href, (xmlChar *)prefix); in dom_node_prefix_write()
1384 ns = xmlSearchNs(n->doc, node, n->ns->prefix); in PHP_FUNCTION()
1386 ns = xmlSearchNs(n->doc, n, n->ns->prefix); in PHP_FUNCTION()
1393 node->ns = xmlNewNs(root, ns->href, ns->prefix); in PHP_FUNCTION()
1560 if (nsptr && nsptr->prefix != NULL) { in PHP_FUNCTION()
1561 RETURN_STRING((char *) nsptr->prefix); in PHP_FUNCTION()
1614 char *prefix; in PHP_FUNCTION() local
1616 …arameters(ZEND_NUM_ARGS(), getThis(), "Os!", &id, dom_node_class_entry, &prefix, &prefix_len) == F… in PHP_FUNCTION()
1628 nsptr = xmlSearchNs(nodep->doc, nodep, (xmlChar *) prefix); in PHP_FUNCTION()
1754 zend_string *prefix; in dom_canonicalization() local
1756 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(tmp), prefix, tmpns) { in dom_canonicalization()
1758 if (prefix) { in dom_canonicalization()
1759 xmlXPathRegisterNs(ctxp, (xmlChar *) ZSTR_VAL(prefix), (xmlChar *) Z_STRVAL_P(tmpns)); in dom_canonicalization()