Details
htmlParserCtxt
typedef xmlParserCtxt htmlParserCtxt; |
htmlParserCtxtPtr
typedef xmlParserCtxtPtr htmlParserCtxtPtr; |
htmlParserNodeInfo
typedef xmlParserNodeInfo htmlParserNodeInfo; |
htmlSAXHandler
typedef xmlSAXHandler htmlSAXHandler; |
htmlSAXHandlerPtr
typedef xmlSAXHandlerPtr htmlSAXHandlerPtr; |
htmlParserInput
typedef xmlParserInput htmlParserInput; |
htmlParserInputPtr
typedef xmlParserInputPtr htmlParserInputPtr; |
htmlDocPtr
typedef xmlDocPtr htmlDocPtr; |
htmlNodePtr
typedef xmlNodePtr htmlNodePtr; |
htmlTagLookup ()
htmlElemDescPtr htmlTagLookup (const xmlChar *tag); |
Lookup the HTML tag in the ElementTable
htmlEntityLookup ()
htmlEntityDescPtr htmlEntityLookup (const xmlChar *name); |
Lookup the given entity in EntitiesTable
TODO: the linear scan is really ugly, an hash table is really needed.
htmlParseEntityRef ()
parse an HTML ENTITY references
[68] EntityRef ::= '&' Name ';'
htmlParseCharRef ()
parse Reference declarations
[66] CharRef ::= '&#' [0-9]+ ';' |
'&x' [0-9a-fA-F]+ ';'
htmlParseElement ()
parse an HTML element, this is highly recursive
[39] element ::= EmptyElemTag | STag content ETag
[41] Attribute ::= Name Eq AttValue
htmlSAXParseDoc ()
parse an HTML 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.
htmlParseDoc ()
parse an HTML in-memory document and build a tree.
htmlSAXParseFile ()
parse an HTML 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.
htmlParseFile ()
htmlDocPtr htmlParseFile (const char *filename,
const char *encoding); |
parse an HTML file and build a tree. Automatic support for ZLIB/Compress
compressed document is provided by default if found at compile-time.