Parse an XML document and return its root element. Leading declarations, comments, processing instructions and a DOCTYPE are skipped; a document without any element yields an empty root named #document.
#document
Parse an XML document and return its root element. Leading declarations, comments, processing instructions and a DOCTYPE are skipped; a document without any element yields an empty root named
#document.