Home | History | Annotate | Download | only in libxml2

Lines Matching refs:attr2

872  * @attr2: 		the pointer to second attr
876 * Returns -1 if attr1 < attr2, 0 if attr1 == attr2 or 1 if attr1 > attr2.
879 xmlC14NAttrsCompare(xmlAttrPtr attr1, xmlAttrPtr attr2)
886 if (attr1 == attr2)
890 if (attr2 == NULL)
892 if (attr1->ns == attr2->ns) {
893 return (xmlStrcmp(attr1->name, attr2->name));
903 if (attr2->ns == NULL)
907 if (attr2->ns->prefix == NULL)
910 ret = xmlStrcmp(attr1->ns->href, attr2->ns->href);
912 ret = xmlStrcmp(attr1->name, attr2->name);