libxml-parse-xml-region

libxml-parse-xml-region is a built-in function in `C source code'.

(libxml-parse-xml-region START END &optional BASE-URL DISCARD-COMMENTS)

Parse the region as an XML document and return the parse tree.
If BASE-URL is non-nil, it is used to expand relative URLs.
If DISCARD-COMMENTS is non-nil, all HTML comments are discarded.