Lines Matching defs:dtd
443 xmlCtxtDumpDtdNode(xmlDebugCtxtPtr ctxt, xmlDtdPtr dtd)
447 if (dtd == NULL) {
453 if (dtd->type != XML_DTD_NODE) {
459 if (dtd->name != NULL)
460 fprintf(ctxt->output, "DTD(%s)", (char *) dtd->name);
463 if (dtd->ExternalID != NULL)
464 fprintf(ctxt->output, ", PUBLIC %s", (char *) dtd->ExternalID);
465 if (dtd->SystemID != NULL)
466 fprintf(ctxt->output, ", SYSTEM %s", (char *) dtd->SystemID);
472 xmlCtxtGenericNodeCheck(ctxt, (xmlNodePtr) dtd);
1307 * @dtd: the DTD
1312 xmlCtxtDumpDTD(xmlDebugCtxtPtr ctxt, xmlDtdPtr dtd)
1314 if (dtd == NULL) {
1319 xmlCtxtDumpDtdNode(ctxt, dtd);
1320 if (dtd->children == NULL)
1324 xmlCtxtDumpNodeList(ctxt, dtd->children);
1536 * @dtd: the DTD
1541 xmlDebugDumpDTD(FILE * output, xmlDtdPtr dtd)
1550 xmlCtxtDumpDTD(&ctxt, dtd);
2623 * @dtd: the DTD URI (optional)
2634 xmlShellValidate(xmlShellCtxtPtr ctxt, char *dtd,
2646 if ((dtd == NULL) || (dtd[0] == 0)) {
2651 subset = xmlParseDTD(NULL, (xmlChar *) dtd);