Home | History | Annotate | Download | only in libxml2

Lines Matching refs:dtd

203 xmlAddEntity(xmlDtdPtr dtd, const xmlChar *name, int type,
212 if (dtd == NULL)
214 if (dtd->doc != NULL)
215 dict = dtd->doc->dict;
221 if (dtd->entities == NULL)
222 dtd->entities = xmlHashCreateDict(0, dict);
223 table = dtd->entities;
227 if (dtd->pentities == NULL)
228 dtd->pentities = xmlHashCreateDict(0, dict);
229 table = dtd->pentities;
239 ret->doc = dtd->doc;
296 * Register a new entity for this document DTD external subset.
305 xmlDtdPtr dtd;
317 dtd = doc->extSubset;
318 ret = xmlAddEntity(dtd, name, type, ExternalID, SystemID, content);
322 * Link it to the DTD
324 ret->parent = dtd;
325 ret->doc = dtd->doc;
326 if (dtd->last == NULL) {
327 dtd->children = dtd->last = (xmlNodePtr) ret;
329 dtd->last->next = (xmlNodePtr) ret;
330 ret->prev = dtd->last;
331 dtd->last = (xmlNodePtr) ret;
354 xmlDtdPtr dtd;
366 dtd = doc->intSubset;
367 ret = xmlAddEntity(dtd, name, type, ExternalID, SystemID, content);
371 * Link it to the DTD
373 ret->parent = dtd;
374 ret->doc = dtd->doc;
375 if (dtd->last == NULL) {
376 dtd->children = dtd->last = (xmlNodePtr) ret;
378 dtd->last->next = (xmlNodePtr) ret;
379 ret->prev = dtd->last;
380 dtd->last = (xmlNodePtr) ret;
474 * Do an entity lookup in the DTD entity hash table and
476 * Note: the first argument is the document node, not the DTD node.
999 * This will dump the content of the entity table as an XML DTD definition
1097 * This will dump the content of the entity table as an XML DTD definition