#include "charset.h"
Go to the source code of this file.
Classes | |
struct | Dtd |
struct | Entity |
struct | ElementDefinition |
struct | AttributeDefinition |
struct | NotationDefinition |
Macros | |
#define | XML_API |
#define | NewExternalEntity(name, pub, sys, nnot, parent) NewExternalEntityN(name, name ? Strlen(name) : 0, pub, sys, nnot, parent) |
#define | NewInternalEntity(name, test, parent, l, l1, mat) NewInternalEntityN(name, name ? Strlen(name) : 0, test, parent, l, l1, mat) |
#define | FindEntity(dtd, name, pe) FindEntityN(dtd, name, Strlen(name), pe) |
#define | DefineElement(dtd, name, type, content) DefineElementN(dtd, name, Strlen(name), type, content) |
#define | TentativelyDefineElement(dtd, name) TentativelyDefineElementN(dtd, name, Strlen(name)) |
#define | FindElement(dtd, name) FindElementN(dtd, name, Strlen(name)) |
#define | DefineAttribute(element, name, type, all, dt, dv) DefineAttributeN(element, name, Strlen(name), type, all, dt, dv) |
#define | FindAttribute(element, name) FindAttributeN(element, name, Strlen(name)) |
#define | DefineNotation(dtd, name, pub, sys) DefineNotationN(dtd, name, Strlen(name), pub, sys) |
#define | TentativelyDefineNotation(dtd, name) TentativelyDefineNotationN(dtd, name, Strlen(name)) |
#define | FindNotation(dtd, name) FindNotationN(dtd, name, Strlen(name)) |
Typedefs | |
typedef enum entity_type | EntityType |
typedef enum markup_language | MarkupLanguage |
typedef enum standalone_declaration | StandaloneDeclaration |
typedef enum content_type | ContentType |
typedef enum default_type | DefaultType |
typedef enum attribute_type | AttributeType |
Enumerations | |
enum | entity_type { ET_external, ET_internal } |
enum | markup_language { ML_xml, ML_nsl, ML_unspecified } |
enum | standalone_declaration { SDD_unspecified, SDD_no, SDD_yes, SDD_enum_count } |
enum | content_type { CT_mixed, CT_any, CT_bogus1, CT_bogus2, CT_empty, CT_element, CT_enum_count } |
enum | default_type { DT_required, DT_bogus1, DT_implied, DT_bogus2, DT_none, DT_fixed, DT_enum_count } |
enum | attribute_type { AT_cdata, AT_bogus1, AT_bogus2, AT_nmtoken, AT_bogus3, AT_entity, AT_idref, AT_bogus4, AT_bogus5, AT_nmtokens, AT_bogus6, AT_entities, AT_idrefs, AT_id, AT_notation, AT_enumeration, AT_enum_count } |
Functions | |
AttributeDefinition | NextAttributeDefinition (ElementDefinition element, AttributeDefinition previous) |
XML_API Dtd | NewDtd (void) |
XML_API void | FreeDtd (Dtd dtd) |
XML_API Entity | NewExternalEntityN (const Char *name, int namelen, const char8 *publicid, const char8 *systemid, NotationDefinition notation, Entity parent) |
XML_API Entity | NewInternalEntityN (const Char *name, int namelen, const Char *text, Entity parent, int line_offset, int line1_char_offset, int matches_parent_text) |
XML_API void | FreeEntity (Entity e) |
XML_API const char8 * | EntityURL (Entity e) |
XML_API const char8 * | EntityDescription (Entity e) |
XML_API void | EntitySetBaseURL (Entity e, const char8 *url) |
XML_API const char8 * | EntityBaseURL (Entity e) |
XML_API Entity | DefineEntity (Dtd dtd, Entity entity, int pe) |
XML_API Entity | FindEntityN (Dtd dtd, const Char *name, int namelen, int pe) |
XML_API ElementDefinition | DefineElementN (Dtd dtd, const Char *name, int namelen, ContentType type, Char *content) |
XML_API ElementDefinition | TentativelyDefineElementN (Dtd dtd, const Char *name, int namelen) |
XML_API ElementDefinition | RedefineElement (ElementDefinition e, ContentType type, Char *content) |
XML_API ElementDefinition | FindElementN (Dtd dtd, const Char *name, int namelen) |
XML_API void | FreeElementDefinition (ElementDefinition e) |
XML_API AttributeDefinition | DefineAttributeN (ElementDefinition element, const Char *name, int namelen, AttributeType type, Char **allowed_values, DefaultType default_type, const Char *default_value) |
XML_API AttributeDefinition | FindAttributeN (ElementDefinition element, const Char *name, int namelen) |
XML_API void | FreeAttributeDefinition (AttributeDefinition a) |
XML_API NotationDefinition | DefineNotationN (Dtd dtd, const Char *name, int namelen, const char8 *publicid, const char8 *systemid) |
XML_API NotationDefinition | TentativelyDefineNotationN (Dtd dtd, const Char *name, int namelen) |
XML_API NotationDefinition | RedefineNotation (NotationDefinition n, const char8 *publicid, const char8 *systemid) |
XML_API NotationDefinition | FindNotationN (Dtd dtd, const Char *name, int namelen) |
XML_API void | FreeNotationDefinition (NotationDefinition n) |
Variables | |
const char8 * | StandaloneDeclarationName [SDD_enum_count] |
XML_API const char8 * | ContentTypeName [CT_enum_count] |
XML_API const char8 * | DefaultTypeName [DT_enum_count] |
XML_API const char8 * | AttributeTypeName [AT_enum_count] |
#define NewExternalEntity | ( | name, | |
pub, | |||
sys, | |||
nnot, | |||
parent | |||
) | NewExternalEntityN(name, name ? Strlen(name) : 0, pub, sys, nnot, parent) |
#define FindEntity | ( | dtd, | |
name, | |||
pe | |||
) | FindEntityN(dtd, name, Strlen(name), pe) |
#define DefineElement | ( | dtd, | |
name, | |||
type, | |||
content | |||
) | DefineElementN(dtd, name, Strlen(name), type, content) |
#define TentativelyDefineElement | ( | dtd, | |
name | |||
) | TentativelyDefineElementN(dtd, name, Strlen(name)) |
#define FindElement | ( | dtd, | |
name | |||
) | FindElementN(dtd, name, Strlen(name)) |
#define DefineAttribute | ( | element, | |
name, | |||
type, | |||
all, | |||
dt, | |||
dv | |||
) | DefineAttributeN(element, name, Strlen(name), type, all, dt, dv) |
#define FindAttribute | ( | element, | |
name | |||
) | FindAttributeN(element, name, Strlen(name)) |
#define DefineNotation | ( | dtd, | |
name, | |||
pub, | |||
sys | |||
) | DefineNotationN(dtd, name, Strlen(name), pub, sys) |
#define TentativelyDefineNotation | ( | dtd, | |
name | |||
) | TentativelyDefineNotationN(dtd, name, Strlen(name)) |
#define FindNotation | ( | dtd, | |
name | |||
) | FindNotationN(dtd, name, Strlen(name)) |
typedef enum entity_type EntityType |
typedef enum markup_language MarkupLanguage |
typedef enum standalone_declaration StandaloneDeclaration |
typedef enum content_type ContentType |
typedef enum default_type DefaultType |
typedef enum attribute_type AttributeType |
enum entity_type |
enum markup_language |
enum content_type |
enum default_type |
enum attribute_type |
AttributeDefinition NextAttributeDefinition | ( | ElementDefinition | element, |
AttributeDefinition | previous | ||
) |
XML_API ElementDefinition DefineElementN | ( | Dtd | dtd, |
const Char * | name, | ||
int | namelen, | ||
ContentType | type, | ||
Char * | content | ||
) |
XML_API ElementDefinition RedefineElement | ( | ElementDefinition | e, |
ContentType | type, | ||
Char * | content | ||
) |
XML_API AttributeDefinition DefineAttributeN | ( | ElementDefinition | element, |
const Char * | name, | ||
int | namelen, | ||
AttributeType | type, | ||
Char ** | allowed_values, | ||
DefaultType | default_type, | ||
const Char * | default_value | ||
) |
const char8* StandaloneDeclarationName[SDD_enum_count] |
XML_API const char8* ContentTypeName[CT_enum_count] |
XML_API const char8* DefaultTypeName[DT_enum_count] |
XML_API const char8* AttributeTypeName[AT_enum_count] |