#include "xmlcpg.h"
Go to the source code of this file.
Functions | |
xmlcpgMap * | xmlcpgnewStaticDTDTable () |
Generates a new Static DTD Table. | |
void | xmlcpgputStaticDTDTable (xmlcpgObject *n, xmlcpgObject *v, xmlcpgObject *vs, xmlcpgObject *gert, xmlcpgObject *uet) |
Inserts an element into the Static DTD Table with its reference tables. | |
xmlcpgObject * | xmlcpggetStaticDTD (xmlcpgObject *n) |
Gets the Static DTD map between version and the reference tables. | |
void | xmlcpgsetReferenceTables (xmlcpgObject *rfs) |
Sets the reference tables. | |
ReferenceTable * | xmlcpgnewGEReferenceTable () |
Generates a new General Entity Reference Table. | |
ReferenceTable * | xmlcpgnewPEReferenceTable () |
Generates a new Parameter Entity Reference Table. | |
char | xmlcpggetCharacterReferenceTable (int val) |
Gets the ascii character associated with the integer. | |
const char * | xmlcpggetGEntity (const char *str) |
Gets the expansion for the string str from the General Entity Reference table. | |
void | xmlcpgputGEntity (const char *key, const char *value) |
Puts an entry in the General Entity Reference table. | |
const char * | xmlcpggetPEntity (const char *str) |
Gets the expansion for the string str from the Parameter Entity Reference table. | |
void | xmlcpgputPEntity (const char *key, const char *value) |
Puts an entry in the Parameter Entity Reference table. | |
ReferenceTable * | xmlcpgnewEAIDTable () |
Generates a new Element Attribute ID Table. | |
void | xmlcpgclearEAIDTable () |
Clears the Element Attribute ID Table. | |
void | xmlcpgputEAIDTable (xmlcpgElement *e, const char *id) |
Inserts an element into the Element Attribute ID Table if it contains an ID. | |
xmlcpgMap * | xmlcpggetValidatorStructure (const char *n, const char *v) |
Gets the validator structure for the specified arguments. | |
Variables | |
xmlcpgMap * | staticDTDTable |
The Static DTD Table. | |
xmlcpgMap * | validatorStructure |
The structure used to xmlcpgvalidate the document element after general xml validation procedure. | |
ReferenceTable * | PERTable |
The Parameter Entity Reference table. | |
ReferenceTable * | GERTable |
The General Entity Reference table. | |
ReferenceTable * | EAITable |
The Element Attribute ID Table. | |
xmlcpgMap * | UETable |
The map between unparsed entity name and it's value. |
|
Clears the Element Attribute ID Table.
|
|
Gets the ascii character associated with the integer.
|
|
Gets the expansion for the string str from the General Entity Reference table.
|
|
Gets the expansion for the string str from the Parameter Entity Reference table.
|
|
Gets the Static DTD map between version and the reference tables.
|
|
Gets the validator structure for the specified arguments. If the validator structure is not found NULL is returned.
|
|
Generates a new Element Attribute ID Table.
|
|
Generates a new General Entity Reference Table.
|
|
Generates a new Parameter Entity Reference Table.
|
|
Generates a new Static DTD Table.
|
|
Inserts an element into the Element Attribute ID Table if it contains an ID. The function checks the Validity Constraint: ID before inserting it.
|
|
Puts an entry in the General Entity Reference table.
|
|
Puts an entry in the Parameter Entity Reference table.
|
|
Inserts an element into the Static DTD Table with its reference tables.
|
|
Sets the reference tables.
|
|
The Element Attribute ID Table.
|
|
The General Entity Reference table.
|
|
The Parameter Entity Reference table.
|
|
The Static DTD Table. This table is modeled like this: ((<root name> (<version string> (<validator structure> <general entity reference table> <unparsed entity table>)) (<version string> (...))) (<root name> (...))) |
|
The map between unparsed entity name and it's value.
|
|
The structure used to xmlcpgvalidate the document element after general xml validation procedure. The map is defined like this: the keys are element name and contains the content specification and a map of the attribute definitions. The attribute definition map key is the attribute definition name and it's data is pair containing the attribute type and the default declaration. <par> Element Map ((<element name> (<content specification> . ;;;; Attribute Definition Map ((<attribute definition name> . (<attribute type> . <default declaration>)) ...))) ...) </par> |