Parse an XML document and return the root element's value. Throws on an empty or root-less document. Unbalanced close tags are ignored defensively rather than throwing, so a slightly malformed feed still yields its data.
Parse an XML document and return the root element's value. Throws on an empty or root-less document. Unbalanced close tags are ignored defensively rather than throwing, so a slightly malformed feed still yields its data.