Hi, We've been working very well with iReport for about 5 years now, and always been using a JDBC connection direct to a database. We now need to use iReport with a remote xml dataset, and have successfully used xpath2 to do this. However, we now want the URL to be dynamic – so, it will take a parameter that specifies what dataset to retrieve. So - instead of http://www.website.com/dataset.php it will be something like http://www.website.com/dataset.php?ID=6 The report would pass in the parameter 6 in this case. A different report, requiring a different set of xml data, would pass in a different parameter to specify a different data set. For security reasons, each ID expires after 2 hours, so the ID will change continually. So, we want the final remote URL to be <URL> + parameter Our problem is that we can't work out how to specify a dynamic runtime connection and get an iReport parameter and pass it into the connection. I'm guessing this is easy to do, but I'm just missing somethng - the latest book hints at it, but doesn't give an example :-( From page 186 of the latest version of the ultimate guide: "Alternatively, the XPath expression can be set directly inside the report. I always suggest to use a report defined Xpath expression. The advantage of this solution is the ability to use parameters inside the XPath expression, which acts like a real query on the supplied XML data" Does anyone have any pointers? Ta Anthony