Jump to content
Changes to the Jaspersoft community edition download ×

Read two independent groups in XML through Subreport


acarl

Recommended Posts

I have the follwing XML (TOB_Detail is a group tag and Geographic_Coverage_Details is another group tag):

<TOB_Details>
<Plan_No>001</Plan_No>
</TOB_Details>


<TOB_Details>
<Plan_No>002</Plan_No>
</TOB_Details>

<TOB_Details></TOB_Details>

<TOB_Details></TOB_Details>

<Geographic_Coverage_Details>
<Plan_No>001</Plan_No>
<Geo_Coverage_Country>Japan</Geo_Coverage_Country>
</Geographic_Coverage_Details>


<Geographic_Coverage_Details>
<Plan_No>001</Plan_No>
<Geo_Coverage_Country>Botswana</Geo_Coverage_Country>
</Geographic_Coverage_Details>


<Geographic_Coverage_Details>
<Plan_No>002</Plan_No>
<Geo_Coverage_Country>Dubai</Geo_Coverage_Country>
</Geographic_Coverage_Details>

<Geographic_Coverage_Details></Geographic_Coverage_Details>

<Geographic_Coverage_Details></Geographic_Coverage_Details>

I need to read the values of TOB_Detail and the corresponding Geographic_Coverage_Details

OUTPUT :-

001 ( from TOB_Details )

Japan (from Geographic_Coverage_Details)

Botswana (from Geographic_Coverage_Details)

 

002  ( from TOB_Details )

Dubai (from Geographic_Coverage_Details)

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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