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

Function xmlAddDocEntity

ThirdParty/libxml2/vtklibxml2/entities.c:370–378  ·  view source on GitHub ↗

* xmlAddDocEntity: * @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. * * Returns a pointer to the entity or NULL in case of error */

Source from the content-addressed store, hash-verified

368 * Returns a pointer to the entity or NULL in case of error
369 */
370xmlEntityPtr
371xmlAddDocEntity(xmlDocPtr doc, const xmlChar *name, int type,
372 const xmlChar *ExternalID, const xmlChar *SystemID,
373 const xmlChar *content) {
374 xmlEntityPtr ret;
375
376 xmlAddEntity(doc, 0, name, type, ExternalID, SystemID, content, &ret);
377 return(ret);
378}
379
380/**
381 * xmlNewEntity:

Callers 2

xmlNewEntityFunction · 0.85
xmlXIncludeMergeEntityFunction · 0.85

Calls 1

xmlAddEntityFunction · 0.85

Tested by

no test coverage detected