Home | History | Annotate | Download | only in libxml2

Lines Matching defs:dtd

201 xmlAddEntity(xmlDtdPtr dtd, const xmlChar *name, int type,
210 if (dtd == NULL)
212 if (dtd->doc != NULL)
213 dict = dtd->doc->dict;
219 if (dtd->entities == NULL)
220 dtd->entities = xmlHashCreateDict(0, dict);
221 table = dtd->entities;
225 if (dtd->pentities == NULL)
226 dtd->pentities = xmlHashCreateDict(0, dict);
227 table = dtd->pentities;
237 ret->doc = dtd->doc;
294 * Register a new entity for this document DTD external subset.
303 xmlDtdPtr dtd;
315 dtd = doc->extSubset;
316 ret = xmlAddEntity(dtd, name, type, ExternalID, SystemID, content);
320 * Link it to the DTD
322 ret->parent = dtd;
323 ret->doc = dtd->doc;
324 if (dtd->last == NULL) {
325 dtd->children = dtd->last = (xmlNodePtr) ret;
327 dtd->last->next = (xmlNodePtr) ret;
328 ret->prev = dtd->last;
329 dtd->last = (xmlNodePtr) ret;
352 xmlDtdPtr dtd;
364 dtd = doc->intSubset;
365 ret = xmlAddEntity(dtd, name, type, ExternalID, SystemID, content);
369 * Link it to the DTD
371 ret->parent = dtd;
372 ret->doc = dtd->doc;
373 if (dtd->last == NULL) {
374 dtd->children = dtd->last = (xmlNodePtr) ret;
376 dtd->last->next = (xmlNodePtr) ret;
377 ret->prev = dtd->last;
378 dtd->last = (xmlNodePtr) ret;
472 * Do an entity lookup in the DTD entity hash table and
474 * Note: the first argument is the document node, not the DTD node.
916 * This will dump the content of the entity table as an XML DTD definition
1014 * This will dump the content of the entity table as an XML DTD definition