Xml.Tables
Returns the contents of the XML document as a nested collection of flattened tables.
Syntax
Xml.Tables(
contents as any,
optional options as record,
optional encoding as TextEncoding.Type
) as table
Remarks
Returns the contents of the XML document as a nested collection of flattened tables.
Examples
Example #1
Retrieve the contents of a local xml file.
Xml.Tables(File.Contents("C:\invoices.xml"))
Result:
table
Category
Accessing data