Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
BIRT // XML Data Source and Data Set
Migrateduser
<p>Hello,</p>
<p> </p>
<p>Can someone help me ... I have to use following type of XML Data file and present data in Report.</p>
<p>
</p>
<div><?xml version="1.0" encoding="iso-8859-1"?></div>
<div><tickets></div>
<div> </div>
<div> <ticket ticketType="2" serviceId="102"></div>
<div> <tag eventId="3100.2.11.2" name="Called Number" dump="12345678"/></div>
<div> <tag eventId="3100.2.112.1" name="Date Time Of Event" dump="30/10/2015 13:49:25"/></div>
<div> <tag eventId="3100.2.11.1" name="Numbering Format Of Called Number" dump="ABC"/></div>
<div>
<div> </ticket></div>
<div> </div>
<div>
<div> <ticket ticketType="2" serviceId="102"></div>
<div> <tag eventId="3100.2.11.2" name="Called Number" dump="87654321"/></div>
<div> <tag eventId="3100.2.112.1" name="Date Time Of Event" dump="03/01/2015 13:49:25"/></div>
<div> <tag eventId="3100.2.11.1" name="Numbering Format Of Called Number" dump="DEF"/></div>
<div> </ticket></div>
</div>
<div> </div>
<div></tickets></div>
<div> </div>
<div>1) One issue I noted using XML Data Source was that this XML has same <tag> element at same level.</div>
<div>I found in one of the post that this can be solved using "Scripted Data Source and Data Set". I downloaded the example.</div>
<div> </div>
<div>2) But second issue is that my xml tag is of type :-</div>
<div> </div>
<div> <tag eventId="3100.2.11.2" name="Called Number" dump="87654321"/></div>
<div> </div>
<div>So I am not able to fetch the "attribute" like eventId / name / dump</div>
<div> </div>
<div>Please help or suggest some example to parse the following XML.</div>
</div>
<p> </p>
Find more posts tagged with
Comments
There are no comments yet