Details
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.
htmlIsAutoClosed ()
The HTmL DtD allows a tag to implicitely close other tags.
The list is kept in htmlStartClose array. This function checks
if a tag is autoclosed by one of it's child
htmlAutoCloseTag ()
The HTmL DtD allows a tag to implicitely close other tags.
The list is kept in htmlStartClose array. This function checks
if the element or one of it's children would autoclose the
given tag.
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.