Lines Matching refs:ent
643 xmlCtxtDumpEntityDecl(xmlDebugCtxtPtr ctxt, xmlEntityPtr ent)
647 if (ent == NULL) {
652 if (ent->type != XML_ENTITY_DECL) {
657 if (ent->name != NULL) {
660 xmlCtxtDumpString(ctxt, ent->name);
667 switch (ent->etype) {
687 if (ent->ExternalID) {
690 (char *) ent->ExternalID);
692 if (ent->SystemID) {
695 (char *) ent->SystemID);
697 if (ent->URI != NULL) {
699 fprintf(ctxt->output, " URI=%s\n", (char *) ent->URI);
701 if (ent->content) {
704 xmlCtxtDumpString(ctxt, ent->content);
712 xmlCtxtGenericNodeCheck(ctxt, (xmlNodePtr) ent);
762 xmlCtxtDumpEntity(xmlDebugCtxtPtr ctxt, xmlEntityPtr ent)
766 if (ent == NULL) {
772 switch (ent->etype) {
789 fprintf(ctxt->output, "ENTITY_%d ! ", (int) ent->etype);
791 fprintf(ctxt->output, "%s\n", ent->name);
792 if (ent->ExternalID) {
795 (char *) ent->ExternalID);
797 if (ent->SystemID) {
799 fprintf(ctxt->output, "SystemID=%s\n", (char *) ent->SystemID);
801 if (ent->URI) {
803 fprintf(ctxt->output, "URI=%s\n", (char *) ent->URI);
805 if (ent->content) {
808 xmlCtxtDumpString(ctxt, ent->content);
1038 xmlEntityPtr ent;
1040 ent = xmlGetDocEntity(node->doc, node->name);
1041 if (ent != NULL)
1042 xmlCtxtDumpEntity(ctxt, ent);