Getting Started Guide > Getting Started with Studio > Adding Data Sources > Adding the XML Data Source
 
Adding the XML Data Source
The name of the XML data source used here is productCatalog.xml. It is located in the installation directory where the TDV software is installed. By default, on a Windows computer this location is:
<TDV_install_dir>\docs\examples
To add the XML data source
1. Navigate to Shared > sources in the resource tree, right-click sources, and select New Data Source.
2. Select File-XML as the data source adapter type, and click Next.
Studio displays the dialog for you to provide the connection information for this type of data source.
3. In the New Physical Data Source window, type values for the fields on the Basic tab.
Field name
Tutorial Value
Description
Name
ds_XML
Type a unique name for the data source.
This name is user-defined and will display in the resource tree when the process of adding the data source is complete.
Local File System
<TDV_install_dir>\docs\examples
Select the Local File System radio button and use the Browse button to locate the root path to the XML file.
The root path does not include the name of the XML file, and only points to the directory of the file.
You can also type the root path to the XML file in the Root Path field, instead of using the Browse button.
File Name Filter(s)
*.xml
 
4. Click Create & Introspect.
5. Select productCatalog.xml.
6. Click Next.
7. Click Finish.
8. Click OK.
The ds_XML data source and associated schema file is added to the resource tree at Shared > sources.