Lines Matching refs:attr
311 "Attr has no prev and not first of attr list\n");
477 xmlCtxtDumpAttrDecl(xmlDebugCtxtPtr ctxt, xmlAttributePtr attr)
481 if (attr == NULL) {
486 if (attr->type != XML_ATTRIBUTE_DECL) {
491 if (attr->name != NULL) {
493 fprintf(ctxt->output, "ATTRDECL(%s)", (char *) attr->name);
497 if (attr->elem != NULL) {
499 fprintf(ctxt->output, " for %s", (char *) attr->elem);
504 switch (attr->atype) {
536 if (attr->tree != NULL) {
538 xmlEnumerationPtr cur = attr->tree;
554 switch (attr->def) {
567 if (attr->defaultValue != NULL) {
569 xmlCtxtDumpString(ctxt, attr->defaultValue);
578 xmlCtxtGenericNodeCheck(ctxt, (xmlNodePtr) attr);
815 * @attr: the attribute
821 xmlCtxtDumpAttr(xmlDebugCtxtPtr ctxt, xmlAttrPtr attr)
825 if (attr == NULL) {
827 fprintf(ctxt->output, "Attr is NULL");
832 xmlCtxtDumpString(ctxt, attr->name);
834 if (attr->children != NULL) {
836 xmlCtxtDumpNodeList(ctxt, attr->children);
840 if (attr->name == NULL)
847 xmlCtxtGenericNodeCheck(ctxt, (xmlNodePtr) attr);
853 * @attr: the attribute list
859 xmlCtxtDumpAttrList(xmlDebugCtxtPtr ctxt, xmlAttrPtr attr)
861 while (attr != NULL) {
862 xmlCtxtDumpAttr(ctxt, attr);
863 attr = attr->next;
1369 * @attr: the attribute
1375 xmlDebugDumpAttr(FILE *output, xmlAttrPtr attr, int depth) {
1382 xmlCtxtDumpAttr(&ctxt, attr);
1409 * @attr: the attribute list
1415 xmlDebugDumpAttrList(FILE * output, xmlAttrPtr attr, int depth)
1423 xmlCtxtDumpAttrList(&ctxt, attr);