Details
XML_INTERNAL_GENERAL_ENTITY
#define XML_INTERNAL_GENERAL_ENTITY |
XML_EXTERNAL_GENERAL_PARSED_ENTITY
#define XML_EXTERNAL_GENERAL_PARSED_ENTITY |
XML_EXTERNAL_GENERAL_UNPARSED_ENTITY
#define XML_EXTERNAL_GENERAL_UNPARSED_ENTITY |
XML_INTERNAL_PARAMETER_ENTITY
#define XML_INTERNAL_PARAMETER_ENTITY |
XML_EXTERNAL_PARAMETER_ENTITY
#define XML_EXTERNAL_PARAMETER_ENTITY |
XML_INTERNAL_PREDEFINED_ENTITY
#define XML_INTERNAL_PREDEFINED_ENTITY |
XML_MIN_ENTITIES_TABLE
#define XML_MIN_ENTITIES_TABLE |
xmlAddDocEntity ()
void xmlAddDocEntity (xmlDocPtr doc,
const CHAR *name,
int type,
const CHAR *ExternalID,
const CHAR *SystemID,
CHAR *content); |
Register a new entity for this document.
xmlAddDtdEntity ()
void xmlAddDtdEntity (xmlDocPtr doc,
const CHAR *name,
int type,
const CHAR *ExternalID,
const CHAR *SystemID,
CHAR *content); |
Register a new entity for this document DTD.
xmlGetPredefinedEntity ()
Check whether this name is an predefined entity.
xmlGetDocEntity ()
Do an entity lookup in the document entity hash table and
returns the corrsponding entity, otherwise a lookup is done
in the predefined entities too.
xmlGetDtdEntity ()
Do an entity lookup in the Dtd entity hash table and
returns the corresponding entity, if found.
xmlEncodeEntities ()
Do a global encoding of a string, replacing the predefined entities
and non ASCII values with their entities and CharRef counterparts.
TODO !!!! Once moved to UTF-8 internal encoding, the encoding of non-ascii
get erroneous.
TODO This routine is not reentrant, the interface
should not be modified though.
People must migrate their code to xmlEncodeEntitiesReentrant !
xmlEncodeEntitiesReentrant ()
Do a global encoding of a string, replacing the predefined entities
and non ASCII values with their entities and CharRef counterparts.
Contrary to xmlEncodeEntities, this routine is reentrant, and result
must be deallocated.
TODO !!!! Once moved to UTF-8 internal encoding, the encoding of non-ascii
get erroneous.
xmlCreateEntitiesTable ()
create and initialize an empty entities hash table.
xmlCopyEntitiesTable ()
Build a copy of an entity table.
xmlFreeEntitiesTable ()
Deallocate the memory used by an entities hash table.
xmlDumpEntitiesTable ()
This will dump the content of the entity table as an XML DTD definition