To set up an XML connection to connect a JReport catalog to an XML data source, follow the steps below:
on the Catalog Browser toolbar, then in the New Data source dialog, specify the name of the data source, select the XML connection type and click OK.To specify the file directly, check the URI radio button, and click Browse to specify the instance file. To use a parameter to specify the file at runtime, check the Parameter radio button and then select the parameter from the Instance drop-down list or click
to create one.
When done, click Next to go to the next window.