Gnome XML Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
#define XML_MAX_NAMELEN |
Identifiers can be longer, but this will be more costly at runtime.
#define INPUT_CHUNK |
The parser tries to always have that amount of input ready. One of the point is providing context when reporting errors.
#define IS_CHAR(c) |
Macro to check the following production in the XML spec:
[2] Char ::=
#define IS_BLANK(c) |
Macro to check the following production in the XML spec:
[3] S ::= (
#define IS_BASECHAR(c) |
Macro to check the following production in the XML spec:
[85] BaseChar ::= ... long list see REC ...
#define IS_DIGIT(c) |
Macro to check the following production in the XML spec:
[88] Digit ::= ... long list see REC ...
#define IS_COMBINING(c) |
Macro to check the following production in the XML spec:
[87] CombiningChar ::= ... long list see REC ...
#define IS_EXTENDER(c) |
Macro to check the following production in the XML spec:
[89] Extender ::=
#define IS_IDEOGRAPHIC(c) |
Macro to check the following production in the XML spec:
[86] Ideographic ::= [
#define IS_LETTER(c) |
Macro to check the following production in the XML spec:
[84] Letter ::= BaseChar | Ideographic
#define IS_PUBIDCHAR(c) |
Macro to check the following production in the XML spec:
[13] PubidChar ::=
int xmlIsBaseChar (int c); |
Check whether the character is allowed by the production [85] BaseChar ::= ... long list see REC ...
VI is your friend !
:1,$ s/\[
int xmlIsBlank (int c); |
Check whether the character is allowed by the production
[3] S ::= (
int xmlIsPubidChar (int c); |
Check whether the character is allowed by the production
[13] PubidChar ::=
int xmlIsLetter (int c); |
Check whether the character is allowed by the production [84] Letter ::= BaseChar | Ideographic
int xmlIsDigit (int c); |
Check whether the character is allowed by the production [88] Digit ::= ... long list see REC ...
int xmlIsIdeographic (int c); |
Check whether the character is allowed by the production
[86] Ideographic ::= [
int xmlIsExtender (int c); |
Check whether the character is allowed by the production
[89] Extender ::=
int xmlIsCombining (int c); |
Check whether the character is allowed by the production [87] CombiningChar ::= ... long list see REC ...
int xmlIsChar (int c); |
Check whether the character is allowed by the production
[2] Char ::=
xmlParserCtxtPtr xmlCreateFileParserCtxt (const char *filename); |
Create a parser context for a file content. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.
xmlParserCtxtPtr xmlCreateMemoryParserCtxt (const char *buffer, int size); |
Create a parser context for an XML in-memory document.
xmlParserCtxtPtr xmlNewParserCtxt (void); |
Allocate and initialize a new parser context.
xmlParserCtxtPtr xmlCreateEntityParserCtxt (const xmlChar *URL, const xmlChar *ID, const xmlChar *base); |
Create a parser context for an external entity Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.
int xmlSwitchEncoding (xmlParserCtxtPtr ctxt, xmlCharEncoding enc); |
change the input functions when discovering the character encoding of a given entity.
int xmlSwitchToEncoding (xmlParserCtxtPtr ctxt, xmlCharEncodingHandlerPtr handler); |
change the input functions when discovering the character encoding of a given entity.
void xmlHandleEntity (xmlParserCtxtPtr ctxt, xmlEntityPtr entity); |
Default handling of defined entities, when should we define a new input stream ? When do we just handle that as a set of chars ?
OBSOLETE: to be removed at some point.
xmlParserInputPtr xmlNewStringInputStream (xmlParserCtxtPtr ctxt, const xmlChar *buffer); |
Create a new input stream based on a memory buffer.
xmlParserInputPtr xmlNewEntityInputStream (xmlParserCtxtPtr ctxt, xmlEntityPtr entity); |
Create a new input stream based on an xmlEntityPtr
void xmlPushInput (xmlParserCtxtPtr ctxt, xmlParserInputPtr input); |
xmlPushInput: switch to a new input stream which is stacked on top of the previous one(s).
xmlChar xmlPopInput (xmlParserCtxtPtr ctxt); |
xmlPopInput: the current input pointed by ctxt->input came to an end pop it and return the next char.
xmlParserInputPtr xmlNewInputFromFile (xmlParserCtxtPtr ctxt, const char *filename); |
Create a new input stream based on a file.
xmlParserInputPtr xmlNewInputStream (xmlParserCtxtPtr ctxt); |
Create a new input stream structure