Zoomed Image

AMSX Scripting Language - Command : xmlfiletotable

Summary

Load an XML dataset file from disk and create temporary tables from its contents

Description

Reads an XML-format dataset file (the same format produced by ExecuteTextColl) from disk and loads each DataTable in the dataset into a corresponding temporary table. The temp table name is formed from the root string plus an index.

Parameters

ParameterDescription
cmdPath to the XML dataset file (.DS format) to read
Argument 0Temporary table name root (each table is named root + index)
Argument 1Not used
Argument 2Naming convention for table creation, as defined by DatasetToTables
Argument 31 to clean strings (strip control characters) when loading rows; default false

Syntax


XmlFileToTable "Path to the XML dataset file (.DS format) to read", "Temporary table name root (each table is named root + index)", "Not used", "Naming convention for table creation, as defined by DatasetToTables", "1 to clean strings (strip control characters) when loading rows; default false"

Return to the AMSX Command Reference