Jump to content
Changes to the Jaspersoft community edition download ×

Neebie: build a dynamic table with XML - how?


2006 IR Open Dicussion

Recommended Posts

By: patrick kistler - calmacroi

Neebie: build a dynamic table with XML - how?

2006-03-20 23:49

Hi

I'm a neebie to jasperreports/ireport. There is an opportunity to work with xml-data. i just want to create a simple example for a table which has dynamic amount of rows depended on amount of xml-data-rows. does anyone has a

simple example?

 

i tried to do it with following code:

 

<report>

<table>

<row>

<cell1>blablabla</cell1>

<cell2>blablabla</cell2>

.....

</row>

<row>

<cell1>42</cell1>

<cell2>test</cell2>

.....

</row>

</table>

</report>

 

dataset settings:

 

- datasource expression: /report/table

- field mappings: /row/cell1 , /row/cell2...

 

whats wrong?

 

thanx for any help..

regs

patrick

Link to comment
Share on other sites

  • 1 month later...
  • 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...