Home | History | Annotate | Download | only in libxml2

Lines Matching refs:dtd

446 xmlCtxtDumpDtdNode(xmlDebugCtxtPtr ctxt, xmlDtdPtr dtd)
450 if (dtd == NULL) {
452 fprintf(ctxt->output, "DTD node is NULL\n");
456 if (dtd->type != XML_DTD_NODE) {
458 "Node is not a DTD");
462 if (dtd->name != NULL)
463 fprintf(ctxt->output, "DTD(%s)", (char *) dtd->name);
465 fprintf(ctxt->output, "DTD");
466 if (dtd->ExternalID != NULL)
467 fprintf(ctxt->output, ", PUBLIC %s", (char *) dtd->ExternalID);
468 if (dtd->SystemID != NULL)
469 fprintf(ctxt->output, ", SYSTEM %s", (char *) dtd->SystemID);
475 xmlCtxtGenericNodeCheck(ctxt, (xmlNodePtr) dtd);
1310 * @dtd: the DTD
1312 * Dumps debug information for the DTD
1315 xmlCtxtDumpDTD(xmlDebugCtxtPtr ctxt, xmlDtdPtr dtd)
1317 if (dtd == NULL) {
1319 fprintf(ctxt->output, "DTD is NULL\n");
1322 xmlCtxtDumpDtdNode(ctxt, dtd);
1323 if (dtd->children == NULL)
1324 fprintf(ctxt->output, " DTD is empty\n");
1327 xmlCtxtDumpNodeList(ctxt, dtd->children);
1539 * @dtd: the DTD
1541 * Dumps debug information for the DTD
1544 xmlDebugDumpDTD(FILE * output, xmlDtdPtr dtd)
1553 xmlCtxtDumpDTD(&ctxt, dtd);
2626 * @dtd: the DTD URI (optional)
2631 * Validate the document, if a DTD path is provided, then the validation
2632 * is done against the given DTD.
2637 xmlShellValidate(xmlShellCtxtPtr ctxt, char *dtd,
2649 if ((dtd == NULL) || (dtd[0] == 0)) {
2654 subset = xmlParseDTD(NULL, (xmlChar *) dtd);