master with two sibling details from an XML data source [message #990330] |
Tue, 11 December 2012 16:45  |
Eclipse User |
|
|
|
Hi,
I am new to BIRT and cannot figure out how to cook a specific kind of report.
My data source is an XML file similar to the following:
<masters>
<master id="1" name="A">
<details>
<detail id="100" desc="abc"/>
<detail id="101" desc="def"/>
<detail id="102" desc="ghi"/>
</details>
<otherdetails>
<otherdetail id="1001" description="qwert"/>
<otherdetail id="1002" description="asdfg"/>
</otherdetails>
</master>
<master id="2" name="B">
<details>
<detail id="200" desc="jkl"/>
<detail id="201" desc="mno"/>
</details>
<otherdetails>
<otherdetail id="2001" description="wert"/>
<otherdetail id="2002" description="sdfg"/>
<otherdetail id="2003" description="xcvb"/>
<otherdetail id="2004" description="xcvb"/>
</otherdetails>
</master>
</masters>
From that data source I need to draw a parallel report:
Masters
-------
1 A
Details
-------
100 abc
101 def
102 ghi
Other Details
-------------
1001 qwert
1002 asdfg
2 B
Details
-------
200 jkl
201 mno
Other Details
-------------
2001 wert
2002 sdfg
2003 xcvb
2004 xcvb
That is two sibling "detail"s tied to one "master".
I tried to create 3 different data sets and connect them through data set parameters but I have not been able to define a filter based on a parameter in an XML dataset.
Possibly, my approach is not correct.
What would you suggest?
Thanks.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05155 seconds