Home | History | Annotate | Download | only in libxml2

Lines Matching refs:attr

708     xmlAttributePtr attr;
733 attr = xmlAddAttributeDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, elem,
737 attr = xmlAddAttributeDecl(&ctxt->vctxt, ctxt->myDoc->extSubset, elem,
750 if ((attr != NULL) && (ctxt->validate) && (ctxt->wellFormed) &&
753 attr);
1398 xmlAttributePtr attr = elemDecl->attributes;
1406 while (attr != NULL) {
1407 if ((attr->defaultValue != NULL) &&
1409 attr->elem, attr->name,
1410 attr->prefix) == attr) &&
1412 attr->elem, attr->name,
1413 attr->prefix) == NULL)) {
1416 if (attr->prefix != NULL) {
1417 fulln = xmlStrdup(attr->prefix);
1419 fulln = xmlStrcat(fulln, attr->name);
1421 fulln = xmlStrdup(attr->name);
1443 (const char *)attr->elem);
1446 attr = attr->nexth;
1453 attr = elemDecl->attributes;
1454 while (attr != NULL) {
1460 if (attr->defaultValue != NULL) {
1469 if (((attr->prefix != NULL) &&
1470 (xmlStrEqual(attr->prefix, BAD_CAST "xmlns"))) ||
1471 ((attr->prefix == NULL) &&
1472 (xmlStrEqual(attr->name, BAD_CAST "xmlns"))) ||
1477 attr->elem, attr->name,
1478 attr->prefix);
1479 if ((tst == attr) || (tst == NULL)) {
1483 fulln = xmlBuildQName(attr->name, attr->prefix, fn, 50);
1506 attr->defaultValue, prefix);
1508 if ((fulln != fn) && (fulln != attr->name))
1513 attr = attr->nexth;