package
0.0.0-20240227081341-0086175c2fd4
Repository: https://github.com/wayf-dk/go-libxml2.git
Documentation: pkg.go.dev
# Constants
DefaultHTMLOptions represents the default set of options used in the ParseHTML* functions.
HTMLParseCompact enables compaction of small text nodes.
HTMLParseIgnoreEnc ignores internal document encoding hints.
HTMLParseNoBlanks removes blank nodes.
HTMLParseNoDefDTD disables using a default doctype when absent.
HTMLParseNoError suppresses error reports.
HTMLParseNoImplied disables implied html/body elements.
HTMLParseNoNet forbids network access during parsing.
HTMLParseNoWarning suppresses warning reports.
HTMLParsePedantic enables pedantic error reporting.
HTMLParseRecover enables relaxed parsing.
Store big lines numbers in text PSVI field */.
compact small text nodes; no modification of the tree allowed afterwards (will possibly crash if you try to modify the tree) */.
default DTD attributes */.
load the external subset */.
validate with the DTD */.
No description provided by the author
relax any hardcoded limit from the parser */.
ignore internal document encoding hint */.
No description provided by the author
do not fixup XINCLUDE xml:base uris */.
remove blank nodes */.
merge CDATA as text nodes */.
Do not reuse the context dictionnary */.
substitute entities */.
suppress error reports */.
Forbid network access */.
suppress warning reports */.
do not generate XINCLUDE START/END nodes */.
remove redundant namespaces declarations */.
parse using XML-1.0 before update 5 */.
parse using SAX2 interface before 2.7.0 */.
pedantic error reporting */.
recover on errors */.
use the SAX1 interface internally */.
Implement XInclude substitition */.
# Variables
ErrMalformedXML is returned when the XML source is malformed.
# Type aliases
HTMLOption represents the HTML parser options that can be used when parsing HTML.
Option represents the parser option bit.