module LibXML::XML::Parser::Options

Options that control the operation of the HTMLParser. The easiest way to set a parser's options is to use the methods LibXML::XML::Parser.file, LibXML::XML::Parser.io or LibXML::XML::Parser.string. For additional control, see LibXML::XML::Parser::Context#options=.

Constants

COMPACT

compact small text nodes

DTDATTR

default DTD attributes

DTDLOAD

load the external subset

DTDVALID

validate with the DTD

HUGE

relax any hardcoded limit from the parser

NOBASEFIX

base uris

NOBLANKS

remove blank nodes

NOCDATA

merge CDATA as text nodes

NODICT

Do not reuse the context dictionnary

NOENT

substitute entities

NOERROR

suppress error reports

NONET

Forbid network access

NOWARNING

suppress warning reports

NOXINCNODE

do not generate XINCLUDE START/END nodes

NSCLEAN

remove redundant namespaces declarations

PARSE_OLD10

parse using XML-1.0 before update 5

PEDANTIC

pedantic error reporting

RECOVER

recover on errors

SAX1

use the SAX1 interface internally

XINCLUDE

Implement XInclude substitition