Home | History | Annotate | Download | only in libxml2

Lines Matching refs:attr

2884 	xmlAttrPtr attr;
2891 attr = xmlHasNsProp(cur->parent, prop->name, NULL);
2893 attr = xmlHasNsProp(cur->parent, prop->name, prop->ns->href);
2911 if ((attr != NULL) && (attr->type != XML_ATTRIBUTE_DECL)) {
2913 xmlRemoveProp((xmlAttrPtr) attr);
5263 xmlAttrPtr attr = (xmlAttrPtr) cur;
5264 xmlNodePtr tmp = attr->children;
6126 xmlAttrPtr attr;
6198 attr = node->properties;
6199 while (attr != NULL) {
6200 if (attr->ns != NULL) {
6221 if (oldNs[i] == attr->ns) {
6222 attr->ns = newNs[i];
6230 n = xmlNewReconciliedNs(doc, tree, attr->ns);
6253 oldNs[nbCache++] = attr->ns;
6254 attr->ns = n;
6258 attr = attr->next;
6312 * We want the attr to be in no namespace.
6322 * We want the attr to be in the specified namespace.
6362 * The common and nice case: Attr in no namespace.
6737 * No equal attr found; create a new one.
9248 xmlTreeErrMemory("xmlDOMWrapCloneNode(): allocating an attr-node");
9640 * @sourceDoc: the optional source document of attr
9641 * @attr: the attribute-node to be adopted
9643 * @destParent: the optional new parent of @attr in @destDoc
9646 * @attr is adopted by @destDoc.
9656 xmlAttrPtr attr,
9664 if ((attr == NULL) || (destDoc == NULL))
9667 attr->doc = destDoc;
9668 if (attr->ns != NULL) {
9675 if (IS_STR_XML(attr->ns->prefix)) {
9681 ns = xmlDOMWrapStoreNs(destDoc, attr->ns->href, attr->ns->prefix);
9686 if (xmlSearchNsByNamespaceStrict(destDoc, destParent, attr->ns->href,
9691 attr->ns->href, attr->ns->prefix, 1);
9696 attr->ns = ns;
9699 XML_TREE_ADOPT_STR(attr->name);
9700 attr->atype = 0;
9701 attr->psvi = NULL;
9705 if (attr->children == NULL)
9707 cur = attr->children;
9743 if (cur == (xmlNodePtr) attr)