Hello,
Is it possible with Jasperassistant to display values from a nested XML file (XML datasource)?
I can set the query from the report to “/main/groups/group” to select “number” (from a group). But the problem is when I want to display the amount (from element) in the same report. Only the first value is visible in the report.
Are there any examples for this (I already looked at the Nortwind example, it’s only 2 deep). How can I resolve this?
Thanks in advance,
Rob
Example XML file I used:
Is it possible with Jasperassistant to display values from a nested XML file (XML datasource)?
I can set the query from the report to “/main/groups/group” to select “number” (from a group). But the problem is when I want to display the amount (from element) in the same report. Only the first value is visible in the report.
Are there any examples for this (I already looked at the Nortwind example, it’s only 2 deep). How can I resolve this?
Thanks in advance,
Rob
Example XML file I used:
<main>
<groups>
<group>
<number>1</number>
<post>
<number>98</number>
<element>
<amount>5</amount>
</element>
<element>
<amount>6</amount>
</element>
<element>
<amount>7</amount>
</element>
</post>
</group>
<group>
<number>2</number>
<post>
<number>101</number>
<element>
<amount>65</amount>
</element>
<element>
<amount>66</amount>
</element>
<element>
<amount>67</amount>
</element>
</post>
</group>
</groups>
</main>
sfdotnetaccount
11 Jul 2006