From 3871a83a5f0aebd8c00879eab14fe901c93dbfcf Mon Sep 17 00:00:00 2001 From: Aron Xu Date: Sun, 26 Oct 2014 07:02:25 +0800 Subject: Imported Upstream version 2.9.2+dfsg1 --- doc/devhelp/libxml2-entities.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/devhelp/libxml2-entities.html') diff --git a/doc/devhelp/libxml2-entities.html b/doc/devhelp/libxml2-entities.html index 0d0effb..3262c40 100644 --- a/doc/devhelp/libxml2-entities.html +++ b/doc/devhelp/libxml2-entities.html @@ -49,7 +49,7 @@ typedef xmlEntitiesTable * xmlEntityPtr xmlAddDocEntity (xmlDocPtr doc,
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content); xmlEntityPtr xmlNewEntity (xmlDocPtr doc,
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content); xmlChar * xmlEncodeEntitiesReentrant (xmlDocPtr doc,
const xmlChar * input); -xmlEntityPtr xmlGetDocEntity (xmlDocPtr doc,
const xmlChar * name); +xmlEntityPtr xmlGetDocEntity (const xmlDoc * doc,
const xmlChar * name); xmlEntityPtr xmlGetDtdEntity (xmlDocPtr doc,
const xmlChar * name); xmlEntityPtr xmlAddDtdEntity (xmlDocPtr doc,
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content); xmlEntitiesTablePtr xmlCopyEntitiesTable (xmlEntitiesTablePtr table); @@ -60,7 +60,7 @@ void xmlDumpEntityDecl (xmlCleanupPredefinedEntities (void); xmlEntitiesTablePtr xmlCreateEntitiesTable (void); const xmlChar * xmlEncodeEntities (xmlDocPtr doc,
const xmlChar * input); -xmlChar * xmlEncodeSpecialChars (xmlDocPtr doc,
const xmlChar * input); +xmlChar * xmlEncodeSpecialChars (const xmlDoc * doc,
const xmlChar * input); xmlEntityPtr xmlGetPredefinedEntity (const xmlChar * name); void xmlInitializePredefinedEntities (void); @@ -128,7 +128,7 @@ The content of this structure is not made public by the API.

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.

doc:the document containing the string
input:A string to convert to XML.
Returns:A newly allocated string with the substitution done.

-

xmlEncodeSpecialChars ()

xmlChar *	xmlEncodeSpecialChars	(xmlDocPtr doc, 
const xmlChar * input)
+

xmlEncodeSpecialChars ()

xmlChar *	xmlEncodeSpecialChars	(const xmlDoc * doc, 
const xmlChar * input)

Do a global encoding of a string, replacing the predefined entities this routine is reentrant, and result must be deallocated.

doc:the document containing the string
input:A string to convert to XML.
Returns:A newly allocated string with the substitution done.

@@ -136,7 +136,7 @@ The content of this structure is not made public by the API.

Deallocate the memory used by an entities hash table.

table:An entity table

-

xmlGetDocEntity ()

xmlEntityPtr	xmlGetDocEntity		(xmlDocPtr doc, 
const xmlChar * name)
+

xmlGetDocEntity ()

xmlEntityPtr	xmlGetDocEntity		(const xmlDoc * doc, 
const xmlChar * name)

Do an entity lookup in the document entity hash table and

doc:the document referencing the entity
name:the entity name
Returns:the corresponding entity, otherwise a lookup is done in the predefined entities too. Returns A pointer to the entity structure or NULL if not found.

-- cgit v1.2.3