Details
docbParserCtxt
typedef xmlParserCtxt docbParserCtxt; |
docbParserCtxtPtr
typedef xmlParserCtxtPtr docbParserCtxtPtr; |
docbParserNodeInfo
typedef xmlParserNodeInfo docbParserNodeInfo; |
docbSAXHandler
typedef xmlSAXHandler docbSAXHandler; |
docbSAXHandlerPtr
typedef xmlSAXHandlerPtr docbSAXHandlerPtr; |
docbParserInput
typedef xmlParserInput docbParserInput; |
docbParserInputPtr
typedef xmlParserInputPtr docbParserInputPtr; |
docbDocPtr
typedef xmlDocPtr docbDocPtr; |
docbNodePtr
typedef xmlNodePtr docbNodePtr; |
docbEncodeEntities ()
int docbEncodeEntities (unsigned char *out,
int *outlen,
unsigned char *in,
int *inlen,
int quoteChar); |
Take a block of UTF-8 chars in and try to convert it to an ASCII
plus SGML entities block of chars out.
docbSAXParseDoc ()
parse an SGML in-memory document and build a tree.
It use the given SAX function block to handle the parsing callback.
If sax is NULL, fallback to the default DOM tree building routines.
docbParseDoc ()
parse an SGML in-memory document and build a tree.
docbSAXParseFile ()
parse an SGML file and build a tree. Automatic support for ZLIB/Compress
compressed document is provided by default if found at compile-time.
It use the given SAX function block to handle the parsing callback.
If sax is NULL, fallback to the default DOM tree building routines.
docbParseFile ()
docbDocPtr docbParseFile (const char *filename,
const char *encoding); |
parse a Docbook SGML file and build a tree. Automatic support for
ZLIB/Compress compressed document is provided by default if found
at compile-time.
docbFreeParserCtxt ()
Free all the memory used by a parser context. However the parsed
document in ctxt->myDoc is not freed.
docbCreatePushParserCtxt ()
Create a parser context for using the DocBook SGML parser in push mode
To allow content encoding detection, size should be >= 4
The value of filename is used for fetching external entities
and error/warning reports.
docbParseChunk ()
int docbParseChunk (docbParserCtxtPtr ctxt,
const char *chunk,
int size,
int terminate); |
Parse a Chunk of memory
docbCreateFileParserCtxt ()
docbParserCtxtPtr docbCreateFileParserCtxt (const char *filename,
const char *encoding); |
Create a parser context for a file content.
Automatic support for ZLIB/Compress compressed document is provided
by default if found at compile-time.
docbParseDocument ()
parse an SGML document (and build a tree if using the standard SAX
interface).