Home| base |src.lib|xml|xmldb| EntityAddEntityStringArray Index

EntityAddEntityStringArray

Syntax
int EntityAddEntityStringArray(struct Entitydata *ptr,char **str);
Header
base/entity.h
Library
rxmldb
Description

The EntityAddEntityStringArray function adds a group of entity definitions to an entity codec control structure.

The argument ptr points to the control structure. The text that defines the entities is stored in the array of zero terminated strings pointed to by the argument str.

An entity is often used as short hand for repeated text, to refer to symbols that would otherwise confuse the XML passer, such as "<" or ">", or to refer to external data.The entity codec encodes and decodes entity/symbol pairs.

Returns
Returns zero on success. On error, (-1) is returned.
Errors
On error (-1) is returned.
Example
None