jimiohara Posted April 10, 2008 Share Posted April 10, 2008 Hi, I was wanting to construct a XML datasource from an xml inputstream. As I understand it you need to set an XPath expression for the record node, and an Xpath expression for each of the fields in a record. The constructor for an JRXmlDataSource takes in only one xpath expression as an argument so do you have to set either the record node or field nodes in the report xml? Can you set all expressions via Java? James Link to comment Share on other sites More sharing options...
lucianc Posted April 10, 2008 Share Posted April 10, 2008 The built-in XML data source uses field descriptions as field XPath expressions. It does not support dynamic/programmatic field XPath expressions. Regards,Lucian Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now