Home | History | Annotate | Download | only in libxml2

Lines Matching refs:dtd

151  * @dtd:  A pointer to the DTD to search
154 * Do an entity lookup in the DTD entity hash table and
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
175 * Do an entity lookup in the DTD pararmeter entity hash table and
181 xmlGetParameterEntityFromDtd(xmlDtdPtr dtd, const xmlChar *name) {
184 if ((dtd != NULL) && (dtd->pentities != NULL)) {
185 table = (xmlEntitiesTablePtr) dtd->pentities;
848 * @name: the DTD name
852 * Creation of a new DTD for the external subset. To create an
855 * Returns a pointer to the new DTD structure
865 "xmlNewDtd(%s): document %s already have a DTD %s\n",
873 * Allocate a new DTD and fill the fields.
877 xmlTreeErrMemory("building DTD");
903 * Returns a pointer to the DTD structure or NULL if not found
924 * @name: the DTD name
929 * Returns a pointer to the new DTD structure
947 * Allocate a new DTD and fill the fields.
1081 * @cur: the DTD structure to free up
1083 * Free a DTD structure.
2586 * The parent pointer in entity is a DTD pointer and thus is NOT
3671 /* use xmlFreeDtd for DTD nodes */
4352 * @dtd: the dtd
4354 * Do a copy of the dtd.
4359 xmlCopyDtd(xmlDtdPtr dtd) {
4363 if (dtd == NULL) return(NULL);
4364 ret = xmlNewDtd(NULL, dtd->name, dtd->ExternalID, dtd->SystemID);
4366 if (dtd->entities != NULL)
4368 (xmlEntitiesTablePtr) dtd->entities);
4369 if (dtd->notations != NULL)
4371 (xmlNotationTablePtr) dtd->notations);
4372 if (dtd->elements != NULL)
4374 (xmlElementTablePtr) dtd->elements);
4375 if (dtd->attributes != NULL)
4377 (xmlAttributeTablePtr) dtd->attributes);
4378 if (dtd->pentities != NULL)
4380 (xmlEntitiesTablePtr) dtd->pentities);
4382 cur = dtd->children;
4443 * be copied too as well as DTD, namespaces and entities.
6374 * We need the QName of the element for the DTD-lookup.
6478 * This function also looks in DTD attribute declaration for #FIXED or
6479 * default declaration values unless DTD use has been turned off.
6532 * This function looks in DTD attribute declaration for #FIXED or
6533 * default declaration values unless DTD use has been turned off.
6552 * This function looks in DTD attribute declaration for #FIXED or
6553 * default declaration values unless DTD use has been turned off.
6578 * This function looks in DTD attribute declaration for #FIXED or
6579 * default declaration values unless DTD use has been turned off.
6605 * This function looks in DTD attribute declaration for #FIXED or
6606 * default declaration values unless DTD use has been turned off.