--- id: xml-parse name: Xml.parse category: xml kind: namespace-method tokens: Xml.parse sig: Xml.parse(text: string) -> xml tip: Parse XML text into an element tree. order: 1 ns: Xml member: parse --- Parses an XML document and returns its root element (or an empty node if there is none). Handles nested elements, single- and double-quoted attributes, text/<![CDATA[…]]> content, comments, the <?xml?> prolog and <!DOCTYPE>. Best-effort, not validating.