Module: LibXML::XML::Parser::Options
Relationships & Source Files | |
Defined in: | ext/libxml/ruby_xml_parser_options.c |
Overview
Options
that control the operation of the ::LibXML::XML::HTMLParser
. The easiest way to set a parser’s options is to use the methods file, io or string. For additional control, see Context#options=.
Constant Summary
-
BIG_LINES =
Store big lines numbers in text PSVI field
INT2NUM(XML_PARSE_BIG_LINES)
-
COMPACT =
compact small text nodes
INT2NUM(XML_PARSE_COMPACT)
-
DTDATTR =
default DTD attributes
INT2NUM(XML_PARSE_DTDATTR)
-
DTDLOAD =
load the external subset
INT2NUM(XML_PARSE_DTDLOAD)
-
DTDVALID =
validate with the DTD
INT2NUM(XML_PARSE_DTDVALID)
-
HUGE =
relax any hardcoded limit from the parser
INT2NUM(XML_PARSE_HUGE)
-
IGNORE_ENC =
ignore internal document encoding hint
INT2NUM(XML_PARSE_IGNORE_ENC)
-
NOBASEFIX =
base uris
do not fixup XINCLUDE xml
-
NOBLANKS =
remove blank nodes
INT2NUM(XML_PARSE_NOBLANKS)
-
NOCDATA =
merge CDATA as text nodes
INT2NUM(XML_PARSE_NOCDATA)
-
NODICT =
Do not reuse the context dictionnary
INT2NUM(XML_PARSE_NODICT)
-
NOENT =
substitute entities
INT2NUM(XML_PARSE_NOENT)
-
NOERROR =
suppress error reports
INT2NUM(XML_PARSE_NOERROR)
-
NONET =
Forbid network access
INT2NUM(XML_PARSE_NONET)
-
NOWARNING =
suppress warning reports
INT2NUM(XML_PARSE_NOWARNING)
-
NOXINCNODE =
do not generate XINCLUDE START/END nodes
INT2NUM(XML_PARSE_NOXINCNODE)
-
NSCLEAN =
remove redundant namespaces declarations
INT2NUM(XML_PARSE_NSCLEAN)
-
OLD10 =
parse using XML-1.0 before update 5
INT2NUM(XML_PARSE_OLD10)
-
OLDSAX =
parse using SAX2 interface before 2.7.0
INT2NUM(XML_PARSE_OLDSAX)
-
PEDANTIC =
pedantic error reporting
INT2NUM(XML_PARSE_PEDANTIC)
-
RECOVER =
recover on errors
INT2NUM(XML_PARSE_RECOVER)
-
SAX1 =
use the
SAX1
interface internallyINT2NUM(XML_PARSE_SAX1)
-
XINCLUDE =
Implement XInclude substitition
INT2NUM(XML_PARSE_XINCLUDE)