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