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

how to use xml data source


deesel

Recommended Posts

Hi

 

I am new to iReport..Can anyone let me know if the follwing is correct when using xml data source.

 

My xml looks like this:

<addressbook>

<category name="home">

<person id="1">

<LASTNAME>Davolio</LASTNAME>

<FIRSTNAME>Nancy</FIRSTNAME>

</person>

</category>

</addressbook>

 

I have added a field 'category' with description '/addressbook/category@name'

 

I have added the field in my .jrxml

 

When I try to compile with the ative datasource as the xml, the report is empty.

 

Please help.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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