Connecting to XML Files
This applies to: Managed Dashboards, Managed Reports
Create a data connector to connect to an XML file, using one or more optional features.
Drag an XML File
To upload an XML file to Symphony and connect to it automatically with default options, you can simply drag the file onto a new metric set, or onto a view such as a dashboard when editing.
The file's data will be visualized automatically. A new data connector will also be added automatically that you can use.
This is similar to dragging and dropping an Excel file.
Create a Data Connector
You can create a data connector for an XML file yourself or edit one to access more options.
To create one, select New in the main menu on the left, and select Data Connector.
In the New Data Connector dialog, set a Name for your connector, and set the Data Provider drop-down to XML File.
There are two options for connecting to an XML file:
Upload a file – Select Choose File and browse to find the XML file to upload.
Define the XML file path – Alternatively, set XML File to either a URL (e.g.,
https://www.w3schools.com/xml/books.xml
) or a UNC path (e.g.,\\FileServer\Xml\books.xml
) pointing to the file.
If you enter an XML File path, you can use wildcard characters *
or ?
to refer to multiple files with the same structure, similar to the example shown for Excel files.
When connecting directly to an XML File path (not when uploading a file), you can set the Authentication method Symphony will use to access the file. See Authentication Methods.
Settings
XML Namespace
If the XML document you are using has an XML namespace defined, you should enter that value in the XML Namespace field.
Schema Location
Set Schema Location to Inline Schema
when the XML schema is stored in the XML file.
If there is no schema, set it to No Schema
and the data will be automatically discovered. Optionally, select Infer Schema to generate a schema automatically from the content first and load the data according to that schema.
If you have the schema in a separate file, set Schema Location to External Schema
and either upload it or set the XSD File field to the path like when setting the XML File field.