ELinks 0.16.1.1
|
Data Structures | |
struct | dom_config |
Enumerations | |
enum | dom_config_flag { DOM_CONFIG_CDATA_SECTIONS = 1 , DOM_CONFIG_COMMENTS = 2 , DOM_CONFIG_ELEMENT_CONTENT_WHITESPACE = 4 , DOM_CONFIG_ENTITIES = 8 , DOM_CONFIG_NORMALIZE_CHARACTERS = 16 , DOM_CONFIG_UNKNOWN = 32 , DOM_CONFIG_NORMALIZE_WHITESPACE = 64 } |
DOM Configuration. More... |
Functions | |
struct dom_config * | add_dom_config_normalizer (struct dom_stack *stack, struct dom_config *config, unsigned int flags) |
unsigned int | parse_dom_config (char *flaglist, char separator) |
enum dom_config_flag |
DOM Configuration.
The DOMConfiguration interface represents the configuration of a document. Using the configuration, it is possible to change the behaviour of how document normalization is done, such as replacing the CDATASection nodes with Text nodes.
Note: Parameters are similar to features and properties used in SAX2. DOM configuration flags.
The following list of parameters defined in the DOM:
struct dom_config * add_dom_config_normalizer | ( | struct dom_stack * | stack, |
struct dom_config * | config, | ||
unsigned int | flags ) |
unsigned int parse_dom_config | ( | char * | flaglist, |
char | separator ) |