description Learn more about: Xml.Document title Xml.Document ms.subservice m-source ms.topic reference Xml.Document Syntax Xml.Document(contents as any, optional encoding as nullable number) as table About Returns the contents of the XML document as a hierarchical table.