XML datasource grouping

0

Hi
I am trying to create a report in Jasper Studio based on a XML file with a hierarchical structure like the following:

<parents> 
  <parent>
    <info>
      <id>
      <name>
    <addtl_info>
    <children>
      <child>
        <id>
        <name>
      <child>
        <id>
        <name>
  <parent>
    <info>
      <id>
      <name>
    <addt_info>
    <children>
      <child>
        <id>
        <name>
      <child>
        <id>
        <name>

For each parent I want to list the id, name and addtl_info elements as heading, then list the child/id and child/name elements of all associated children.
How is this achieved?

Kind Regards,
Torkild Hagen

torkild.hagen's picture
Joined: Oct 21 2018 - 11:38pm
Last seen: 1 year 2 weeks ago

0 Answers:

No answers yet
Feedback