* xmlAddDtdEntity: * @doc: the document * @name: the entity name * @type: the entity type XML_xxx_yyy_ENTITY * @ExternalID: the entity external ID if available * @SystemID: the entity system ID if available * @content: the entity content * * Register a new entity for this document DTD external subset. * * Returns a pointer to the entity or NULL in case of error */
| 345 | * Returns a pointer to the entity or NULL in case of error |
| 346 | */ |
| 347 | xmlEntityPtr |
| 348 | xmlAddDtdEntity(xmlDocPtr doc, const xmlChar *name, int type, |
| 349 | const xmlChar *ExternalID, const xmlChar *SystemID, |
| 350 | const xmlChar *content) { |
| 351 | xmlEntityPtr ret; |
| 352 | |
| 353 | xmlAddEntity(doc, 1, name, type, ExternalID, SystemID, content, &ret); |
| 354 | return(ret); |
| 355 | } |
| 356 | |
| 357 | /** |
| 358 | * xmlAddDocEntity: |
nothing calls this directly
no test coverage detected