ADC Home > Reference Library > Reference > Darwin > Miscellaneous User Space API Reference

 


HTMLparser.h

Includes:

Introduction



Typedefs


htmlParserOption


typedef enum { 
    HTML_PARSE_NOERROR = 1<<5, /* suppress error reports */
    HTML_PARSE_NOWARNING= 1<<6, /* suppress warning reports */
    HTML_PARSE_PEDANTIC = 1<<7, /* pedantic error reporting */
    HTML_PARSE_NOBLANKS = 1<<8, /* remove blank nodes */
    HTML_PARSE_NONET = 1<<11 /* Forbid network access */
} htmlParserOption;  
Discussion

xmlParserOption:

This is the set of XML parser options that can be passed down to the xmlReadDoc() and similar calls.

Globals


XMLPUBFUN


 Macros which declare an exportable function */
#define XMLPUBFUN  ;  
Discussion

Interfaces for the Push mode.

#defines


htmlDefaultSubelement


#define htmlDefaultSubelement(
    elt) elt->defaultsubelt 
Discussion

htmlDefaultSubelement: @elt: HTML element

Returns the default subelement for this element


htmlElementAllowedHereDesc


#define htmlElementAllowedHereDesc(
    parent,elt) \ htmlElementAllowedHere((
    parent), (
    elt)->name) 
Discussion

htmlElementAllowedHereDesc: @parent: HTML parent element @elt: HTML element

Checks whether an HTML element description may be a direct child of the specified element.

Returns 1 if allowed; 0 otherwise.


htmlRequiredAttrs


#define htmlRequiredAttrs(
    elt)  
Discussion

htmlRequiredAttrs: @elt: HTML element

Returns the attributes required for the specified element.

Last Updated: 2006-06-20