Home | History | Annotate | Download | only in libxml2

Lines Matching refs:dtd

32    "-//W3C//DTD XHTML 1.0 Strict//EN"
34 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
36 "-//W3C//DTD XHTML 1.0 Frameset//EN"
38 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"
40 "-//W3C//DTD XHTML 1.0 Transitional//EN"
42 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
50 * Try to find if the document correspond to an XHTML DTD
465 * This will dump the content of the notation table as an XML DTD definition
488 * DTD definition
511 * DTD definition
533 * This will dump the content of the entity table as an XML DTD definition
702 * @dtd: the pointer to the DTD
704 * Dump the XML document DTD, if any.
707 xmlDtdDumpOutput(xmlSaveCtxtPtr ctxt, xmlDtdPtr dtd) {
712 if (dtd == NULL) return;
717 xmlOutputBufferWriteString(buf, (const char *)dtd->name);
718 if (dtd->ExternalID != NULL) {
720 xmlBufWriteQuotedString(buf->buffer, dtd->ExternalID);
722 xmlBufWriteQuotedString(buf->buffer, dtd->SystemID);
723 } else if (dtd->SystemID != NULL) {
725 xmlBufWriteQuotedString(buf->buffer, dtd->SystemID);
727 if ((dtd->entities == NULL) && (dtd->elements == NULL) &&
728 (dtd->attributes == NULL) && (dtd->notations == NULL) &&
729 (dtd->pentities == NULL)) {
735 * Dump the notations first they are not in the DTD children list
736 * Do this only on a standalone DTD or on the internal subset though.
738 if ((dtd->notations != NULL) && ((dtd->doc == NULL) ||
739 (dtd->doc->intSubset == dtd))) {
741 (xmlNotationTablePtr) dtd->notations);
748 ctxt->doc = dtd->doc;
749 xmlNodeListDumpOutput(ctxt, dtd->children);
1104 xmlDtdPtr dtd;
1217 dtd = xmlGetIntSubset(cur);
1218 if (dtd != NULL) {
1219 is_xhtml = xmlIsXHTML(dtd->SystemID, dtd->ExternalID);
2359 xmlDtdPtr dtd;
2380 dtd = xmlGetIntSubset(doc);
2381 if (dtd != NULL) {
2382 is_xhtml = xmlIsXHTML(dtd->SystemID, dtd->ExternalID);