Connecting to a XML data source

If you have the schema of the XML data source, you can extract data from a valid XML file.

About this task

The XML file can reside on the local file system or a remote system accessible through a URL.

Procedure

  1. In the Document Specification view, expand Templates > Data Sources.
  2. Right-click the data source and select Configure Data Source.
  3. In the Configure XML Data Source window, click Next.
  4. URL: Enter the URL for the XML file or click Browse to select a file on your computer.
  5. If necessary, enter a user name and password.
  6. Applies to version 1.2.0.1 Authentication: Select the authentication type that applies to your data source. You can select one of the following authentication types:
    • Form
    • Basic
    • OAuth
  7. Applies to version 1.2.0.1 Accept header: Enter an accept type for providing the data. Examples:
    • image/jpeg
    • text/html
    • application/xml
    • */*
  8. Click OK. A basic and a form-based authentication is performed and the XML file path displays in the Properties view

Feedback