I've an XML/JSON file(a web service response). This response contains nested elements. How can I convert the nested elements into plain elements so that I can use them in my Ad-Hoc Reports. Here is the sample of nested elements.
From the below sample xml I would like to access q1 with an element name as Releases.curryear.Sales.q1 Instead of traversing it. Guide me in solving this.
<book>
<category>reference</category>
<author>Nigel Rees</author>
<title>Sayings of the Century</title>
<price>8.95</price>
<Releases>
<curryear>
<Sales>
<q1>20000</q1>
<q2>23650</q2>
</Sales>
</curryear>
<prevyear>
<Sales>
<q1>23000</q1>
<q2>23650</q2>
<q3>24700</q3>
<q4>25650</q4>
</Sales>
</prevyear>
</Releases>
Note: The response contains more than 100 000 records