Xml.Tables

Syntax

Xml.Tables(contents as any, optional options as nullable record, optional encoding as nullable number) as table

About

Returns the contents of the XML document as a nested collection of flattened tables.

Example 1

Retrieve the contents of a local XML file.

Usage

Xml.Tables(File.Contents("C:\invoices.xml"))

Output

table