Lines Matching refs:ent
641 xmlCtxtDumpEntityDecl(xmlDebugCtxtPtr ctxt, xmlEntityPtr ent)
645 if (ent == NULL) {
650 if (ent->type != XML_ENTITY_DECL) {
655 if (ent->name != NULL) {
658 xmlCtxtDumpString(ctxt, ent->name);
665 switch (ent->etype) {
685 if (ent->ExternalID) {
688 (char *) ent->ExternalID);
690 if (ent->SystemID) {
693 (char *) ent->SystemID);
695 if (ent->URI != NULL) {
697 fprintf(ctxt->output, " URI=%s\n", (char *) ent->URI);
699 if (ent->content) {
702 xmlCtxtDumpString(ctxt, ent->content);
710 xmlCtxtGenericNodeCheck(ctxt, (xmlNodePtr) ent);
760 xmlCtxtDumpEntity(xmlDebugCtxtPtr ctxt, xmlEntityPtr ent)
764 if (ent == NULL) {
770 switch (ent->etype) {
787 fprintf(ctxt->output, "ENTITY_%d ! ", (int) ent->etype);
789 fprintf(ctxt->output, "%s\n", ent->name);
790 if (ent->ExternalID) {
793 (char *) ent->ExternalID);
795 if (ent->SystemID) {
797 fprintf(ctxt->output, "SystemID=%s\n", (char *) ent->SystemID);
799 if (ent->URI) {
801 fprintf(ctxt->output, "URI=%s\n", (char *) ent->URI);
803 if (ent->content) {
806 xmlCtxtDumpString(ctxt, ent->content);
1036 xmlEntityPtr ent;
1038 ent = xmlGetDocEntity(node->doc, node->name);
1039 if (ent != NULL)
1040 xmlCtxtDumpEntity(ctxt, ent);