MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlAddDtdEntity

Function xmlAddDtdEntity

ThirdParty/libxml2/vtklibxml2/entities.c:347–355  ·  view source on GitHub ↗

* 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 */

Source from the content-addressed store, hash-verified

345 * Returns a pointer to the entity or NULL in case of error
346 */
347xmlEntityPtr
348xmlAddDtdEntity(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:

Callers

nothing calls this directly

Calls 1

xmlAddEntityFunction · 0.85

Tested by

no test coverage detected