Module: LibXML::XML::HTMLParser::Options
| Relationships & Source Files | |
| Defined in: | ext/libxml/ruby_xml_html_parser_options.c |
Overview
Options to control the operation of the ::LibXML::XML::HTMLParser. The easiest way to set a parser’s options is via the methods file, io or string. For additional control, see Context#options=.
Constant Summary
-
COMPACT =
# File 'ext/libxml/ruby_xml_html_parser_options.c', line 42
Compact small text nodes.
65536 -
NOBLANKS =
# File 'ext/libxml/ruby_xml_html_parser_options.c', line 37
Remove blank nodes.
256 -
NODEFDTD =
# File 'ext/libxml/ruby_xml_html_parser_options.c', line 28
Do not default a doctype if not found
2 -
NOERROR =
# File 'ext/libxml/ruby_xml_html_parser_options.c', line 31
Suppress error reports.
32 -
NOIMPLIED =
# File 'ext/libxml/ruby_xml_html_parser_options.c', line 46
Do not add implied html/body… elements
8192 -
NONET =
# File 'ext/libxml/ruby_xml_html_parser_options.c', line 40
Forbid network access.
2048 -
NOWARNING =
# File 'ext/libxml/ruby_xml_html_parser_options.c', line 33
Suppress warning reports.
64 -
PEDANTIC =
# File 'ext/libxml/ruby_xml_html_parser_options.c', line 35
Enable pedantic error reporting.
128 -
RECOVER =
# File 'ext/libxml/ruby_xml_html_parser_options.c', line 24
Relax parsing.
1