version 1.32, 2000/02/19 18:59:45
|
version 1.33, 2000/03/02 03:56:00
|
Line 15
|
Line 15
|
extern "C" { |
extern "C" { |
#endif |
#endif |
|
|
#define XML_INTERNAL_GENERAL_ENTITY 1 |
/* |
#define XML_EXTERNAL_GENERAL_PARSED_ENTITY 2 |
* The different valid entity types |
#define XML_EXTERNAL_GENERAL_UNPARSED_ENTITY 3 |
*/ |
#define XML_INTERNAL_PARAMETER_ENTITY 4 |
typedef enum { |
#define XML_EXTERNAL_PARAMETER_ENTITY 5 |
XML_INTERNAL_GENERAL_ENTITY = 1, |
#define XML_INTERNAL_PREDEFINED_ENTITY 6 |
XML_EXTERNAL_GENERAL_PARSED_ENTITY = 2, |
|
XML_EXTERNAL_GENERAL_UNPARSED_ENTITY = 3, |
|
XML_INTERNAL_PARAMETER_ENTITY = 4, |
|
XML_EXTERNAL_PARAMETER_ENTITY = 5, |
|
XML_INTERNAL_PREDEFINED_ENTITY = 6 |
|
} xmlEntityType; |
|
|
/* |
/* |
* An unit of storage for an entity, contains the string, the value |
* An unit of storage for an entity, contains the string, the value |
Line 45 struct _xmlEntity {
|
Line 50 struct _xmlEntity {
|
xmlChar *orig; /* content without ref substitution */ |
xmlChar *orig; /* content without ref substitution */ |
xmlChar *content; /* content or ndata if unparsed */ |
xmlChar *content; /* content or ndata if unparsed */ |
int length; /* the content length */ |
int length; /* the content length */ |
int etype; /* The entity type */ |
xmlEntityType etype; /* The entity type */ |
const xmlChar *ExternalID; /* External identifier for PUBLIC */ |
const xmlChar *ExternalID; /* External identifier for PUBLIC */ |
const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC Entity */ |
const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC Entity */ |
}; |
}; |