Jump to content

Recommended Posts

Posted

Hi all,

I'm trying to do something similar to example presented here: http://community.jaspersoft.com/wiki/lists-jaspersoft-studio

The difference is that i need to read 2 elements from selected node. It goes like this:

I' m using same expression: $P{REPORT_DATA_SOURCE}.subDataSource("/person/phone")

But under my phone element are 2 elements like for example:

<phone>

     <home>123456789</home>

     <work><987654321</work>

</phone>

How to read both of them using the same "child::text()" option. OR maybe there is another approach to my problem?

 

Please help!

 

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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...