Defines | |
#define | SGML_EXTENSION_HTML_PARAM_FLAG 0x00000001 |
#define | SGML_EXTENSION_HTML_PARAM_SETKNOWNTAGS 0x00000002 |
#define | SGML_EXTENSION_HTML_FLAG_STRIPELEMENT (1 << 0) |
#define | SGML_EXTENSION_HTML_FLAG_STRIPTEXT (1 << 1) |
#define | SGML_EXTENSION_HTML_FLAG_STRIPCOMMENT (1 << 2) |
#define | SGML_EXTENSION_HTML_FLAG_IGNOREBLANKLINES (1 << 3) |
#define | SGML_EXTENSION_HTML_FLAG_ESCAPEUNKNOWNTAGS (1 << 4) |
Functions | |
void | sgmlExtensionHtmlSetParam (SGML_PARSER *parser, void *extensionContext, unsigned long param, void *value) |
void | sgmlExtensionHtmlGetParam (SGML_PARSER *parser, void *extensionContext, unsigned long param, void *value) |
DOM_DOCUMENT * | sgmlExtensionHtmlGetDocument (SGML_PARSER *parser) |
|
Used in conjunction with the parameter SGML_EXTENSION_HTML_PARAM_FLAG, this flag specifies that unknown tags are to be escaped. |
|
Used in conjunction with the parameter SGML_EXTENSION_HTML_PARAM_FLAG, this flag specifies that text nodes with only white spaces are to be ignored. |
|
Used in conjunction with the parameter SGML_EXTENSION_HTML_PARAM_FLAG, this flag specifies that comments are to be ignored during parsing. |
|
Used in conjunction with the parameter SGML_EXTENSION_HTML_PARAM_FLAG, this flag specifies that elements are to be ignored during parsing. |
|
Used in conjunction with the parameter SGML_EXTENSION_HTML_PARAM_FLAG, this flag specifies that text nodes are to be ignored during parsing. |
|
HTML extension parameter that allows for the setting of flags. Flags can be any of the following:
|
|
HTML extension parameter for setting 'known tags'. Known tags are tags that will not be escaped when the document is serialized. |
|
Get the 'root' document node that was parsed in by the parser.
|
|
Gets the value of a given parameter on the HTML extension. See sgmlExtensionHtmlGetParam for a list of parameters.
|
|
Sets an arbitrary parameter on the HTML extension. param can be any one of the following:
|