Lines Matching defs:href

701  * @href:  the URI associated
707 * We use href==NULL in the case of an element creation where the namespace
712 xmlNewNs(xmlNodePtr node, const xmlChar *href, const xmlChar *prefix) {
732 if (href != NULL)
733 cur->href = xmlStrdup(href);
800 if (cur->href != NULL) xmlFree((char *) cur->href);
2874 attr = xmlHasNsProp(cur->parent, prop->name, prop->ns->href);
3302 lastattr = xmlHasNsProp(parent, cur->name, cur->ns->href);
3624 ret = xmlNewNs(NULL, cur->href, cur->prefix);
3706 ret->ns = xmlNewNs(root, ns->href, ns->prefix);
3714 if (xmlStrEqual(ns->href, cur->ns->href)) {
3936 ret->ns = xmlNewNs(root, ns->href, ns->prefix);
4899 return(xmlGetProp(cur, BAD_CAST "href"));
5078 xmlBufferCat(buffer, ((xmlNsPtr) cur)->href);
5175 tmp = xmlStrdup(((xmlNsPtr) cur)->href);
5559 ns->href = xmlStrdup(XML_XML_NAMESPACE);
5604 cur->href = xmlStrdup(XML_XML_NAMESPACE);
5632 (cur->href != NULL))
5635 (cur->href != NULL) &&
5644 (cur->href != NULL))
5647 (cur->href != NULL) &&
5705 * @href: the namespace value
5712 xmlSearchNsByHref(xmlDocPtr doc, xmlNodePtr node, const xmlChar * href)
5718 if ((node == NULL) || (href == NULL))
5720 if (xmlStrEqual(href, XML_XML_NAMESPACE)) {
5737 cur->href = xmlStrdup(XML_XML_NAMESPACE);
5765 if ((cur->href != NULL) && (href != NULL) &&
5766 (xmlStrEqual(cur->href, href))) {
5776 if ((cur->href != NULL) && (href != NULL) &&
5777 (xmlStrEqual(cur->href, href))) {
5826 def = xmlSearchNsByHref(doc, tree, ns->href);
5853 def = xmlNewNs(tree, ns->href, prefix);
6081 ((prop->ns->href == nsName) ||
6082 xmlStrEqual(prop->ns->href, nsName)))
6140 if (xmlStrEqual((*cur)->href, nsName)) {
6386 prop = xmlGetPropNodeInternal(node, name, (ns != NULL) ? ns->href : NULL, 0);
6452 if (ns && (ns->href == NULL))
6454 prop = xmlGetPropNodeInternal(node, name, (ns != NULL) ? ns->href : NULL, 0);
7429 xmlStrEqual(ns->href, nsName)) {
7724 ns = xmlDOMWrapStoreNs(doc, node->ns->href,
7838 if ((nsName == ns->href) ||
7839 xmlStrEqual(nsName, ns->href)) {
7922 if (ns->href == NULL)
8082 ((mi->newNs->href != NULL) &&
8083 (mi->newNs->href[0] != 0)) &&
8087 ((mi->newNs->href == ns->href) ||
8088 xmlStrEqual(mi->newNs->href, ns->href))) {
8105 tmpns = xmlDOMWrapStoreNs(doc, ns->href, ns->prefix);
8120 tmpns = xmlDOMWrapNSNormDeclareNsForced(doc, elem, ns->href,
8231 ((ns->href == mi->newNs->href) ||
8232 xmlStrEqual(ns->href, mi->newNs->href)))
8518 * - ns->href and ns->prefix are never in the dict, so
8538 * NOTE: ns->prefix and ns->href are never in the dict.
8540 * XML_TREE_ADOPT_STR(ns->href)
8601 cur->ns->href, cur->ns->prefix);
9006 if (ns->href != NULL)
9007 cloneNs->href = xmlStrdup(ns->href);
9141 cur->ns->href, cur->ns->prefix);
9351 ns = xmlDOMWrapStoreNs(destDoc, attr->ns->href, attr->ns->prefix);
9356 if (xmlSearchNsByNamespaceStrict(destDoc, destParent, attr->ns->href,
9361 attr->ns->href, attr->ns->prefix, 1);