Jump to content
We've recently updated our Privacy Statement, available here ×

JRXmlDataSource and XPath expressions


jimiohara

Recommended Posts

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...