Lines Matching defs:dtd
151 * @dtd: A pointer to the DTD to search
160 xmlGetEntityFromDtd(xmlDtdPtr dtd, const xmlChar *name) {
163 if((dtd != NULL) && (dtd->entities != NULL)) {
164 table = (xmlEntitiesTablePtr) dtd->entities;
172 * @dtd: A pointer to the DTD to search
181 xmlGetParameterEntityFromDtd(xmlDtdPtr dtd, const xmlChar *name) {
184 if ((dtd != NULL) && (dtd->pentities != NULL)) {
185 table = (xmlEntitiesTablePtr) dtd->pentities;
4339 * @dtd: the dtd
4341 * Do a copy of the dtd.
4346 xmlCopyDtd(xmlDtdPtr dtd) {
4350 if (dtd == NULL) return(NULL);
4351 ret = xmlNewDtd(NULL, dtd->name, dtd->ExternalID, dtd->SystemID);
4353 if (dtd->entities != NULL)
4355 (xmlEntitiesTablePtr) dtd->entities);
4356 if (dtd->notations != NULL)
4358 (xmlNotationTablePtr) dtd->notations);
4359 if (dtd->elements != NULL)
4361 (xmlElementTablePtr) dtd->elements);
4362 if (dtd->attributes != NULL)
4364 (xmlAttributeTablePtr) dtd->attributes);
4365 if (dtd->pentities != NULL)
4367 (xmlEntitiesTablePtr) dtd->pentities);
4369 cur = dtd->children;