Function: libxml-parse-html-region

libxml-parse-html-region is a function defined in xml.c.

Signature

(libxml-parse-html-region START END &optional BASE-URL)

Documentation

Parse the region as an HTML document and return the parse tree.

If BASE-URL is non-nil, it is used to expand relative URLs.

If you want comments to be stripped, use the xml-remove-comments function to strip comments before calling this function.

Probably introduced at or before Emacs version 24.1.

Source Code

// Defined in /usr/src/emacs/src/xml.c
{
  if (init_libxml2_functions ())
    return parse_region (start, end, base_url, discard_comments, true);
  return Qnil;
}