Lines Matching refs:dtd
150 * @dtd: A pointer to the DTD to search
153 * Do an entity lookup in the DTD entity hash table and
159 xmlGetEntityFromDtd(xmlDtdPtr dtd, const xmlChar *name) {
162 if((dtd != NULL) && (dtd->entities != NULL)) {
163 table = (xmlEntitiesTablePtr) dtd->entities;
171 * @dtd: A pointer to the DTD to search
174 * Do an entity lookup in the DTD pararmeter entity hash table and
180 xmlGetParameterEntityFromDtd(xmlDtdPtr dtd, const xmlChar *name) {
183 if ((dtd != NULL) && (dtd->pentities != NULL)) {
184 table = (xmlEntitiesTablePtr) dtd->pentities;
836 * @name: the DTD name
840 * Creation of a new DTD for the external subset. To create an
843 * Returns a pointer to the new DTD structure
853 "xmlNewDtd(%s): document %s already have a DTD %s\n",
861 * Allocate a new DTD and fill the fields.
865 xmlTreeErrMemory("building DTD");
891 * Returns a pointer to the DTD structure or NULL if not found
912 * @name: the DTD name
917 * Returns a pointer to the new DTD structure
935 * Allocate a new DTD and fill the fields.
1069 * @cur: the DTD structure to free up
1071 * Free a DTD structure.
2575 * The parent pointer in entity is a DTD pointer and thus is NOT
3652 /* use xmlFreeDtd for DTD nodes */
4327 * @dtd: the dtd
4329 * Do a copy of the dtd.
4334 xmlCopyDtd(xmlDtdPtr dtd) {
4338 if (dtd == NULL) return(NULL);
4339 ret = xmlNewDtd(NULL, dtd->name, dtd->ExternalID, dtd->SystemID);
4341 if (dtd->entities != NULL)
4343 (xmlEntitiesTablePtr) dtd->entities);
4344 if (dtd->notations != NULL)
4346 (xmlNotationTablePtr) dtd->notations);
4347 if (dtd->elements != NULL)
4349 (xmlElementTablePtr) dtd->elements);
4350 if (dtd->attributes != NULL)
4352 (xmlAttributeTablePtr) dtd->attributes);
4353 if (dtd->pentities != NULL)
4355 (xmlEntitiesTablePtr) dtd->pentities);
4357 cur = dtd->children;
4418 * be copied too as well as DTD, namespaces and entities.
6349 * We need the QName of the element for the DTD-lookup.
6453 * This function also looks in DTD attribute declaration for #FIXED or
6454 * default declaration values unless DTD use has been turned off.
6507 * This function looks in DTD attribute declaration for #FIXED or
6508 * default declaration values unless DTD use has been turned off.
6527 * This function looks in DTD attribute declaration for #FIXED or
6528 * default declaration values unless DTD use has been turned off.
6553 * This function looks in DTD attribute declaration for #FIXED or
6554 * default declaration values unless DTD use has been turned off.
6580 * This function looks in DTD attribute declaration for #FIXED or
6581 * default declaration values unless DTD use has been turned off.