Lines Matching defs:dtd
445 xmlCtxtDumpDtdNode(xmlDebugCtxtPtr ctxt, xmlDtdPtr dtd)
449 if (dtd == NULL) {
455 if (dtd->type != XML_DTD_NODE) {
461 if (dtd->name != NULL)
462 fprintf(ctxt->output, "DTD(%s)", (char *) dtd->name);
465 if (dtd->ExternalID != NULL)
466 fprintf(ctxt->output, ", PUBLIC %s", (char *) dtd->ExternalID);
467 if (dtd->SystemID != NULL)
468 fprintf(ctxt->output, ", SYSTEM %s", (char *) dtd->SystemID);
474 xmlCtxtGenericNodeCheck(ctxt, (xmlNodePtr) dtd);
1309 * @dtd: the DTD
1314 xmlCtxtDumpDTD(xmlDebugCtxtPtr ctxt, xmlDtdPtr dtd)
1316 if (dtd == NULL) {
1321 xmlCtxtDumpDtdNode(ctxt, dtd);
1322 if (dtd->children == NULL)
1326 xmlCtxtDumpNodeList(ctxt, dtd->children);
1538 * @dtd: the DTD
1543 xmlDebugDumpDTD(FILE * output, xmlDtdPtr dtd)
1552 xmlCtxtDumpDTD(&ctxt, dtd);
2625 * @dtd: the DTD URI (optional)
2636 xmlShellValidate(xmlShellCtxtPtr ctxt, char *dtd,
2648 if ((dtd == NULL) || (dtd[0] == 0)) {
2653 subset = xmlParseDTD(NULL, (xmlChar *) dtd);