Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » BIRT XML Tags(XML Taggs in Column Mapping)
BIRT XML Tags [message #552060] Tue, 10 August 2010 16:31
Veena  is currently offline Veena Friend
Messages: 3
Registered: August 2010
Junior Member
Hi,
I have a question regarding why in BIRT when XML file is used as a datasource,In the Column Mapping the <PersonName> tag is shown only once and why the other <PersonName> tag is not displayed. I have found a solution by giving numbers like [1],[2] ex:

For First <PersonName> tag
/Details/DetailsOfEachPerson/Person/PersonName[1]/FirstName and for MiddleName and LastName do on

For Second <PersonName> tag
/Details/DetailsOfEachPerson/Person/PersonName[2]/FirstName and for MiddleName and LastName do on

Question:
This procedure is fine,but if Im working with big xml I cant go on with this procedure.Is there any procedure to retrieve all xml tags from xml file even there are double,thrice similar tags. Is there any solution


Please help me out.


<?xml version="1.0" encoding="UTF-8"?>
<PersonDetails>
<Details>
<IDKey>1</IDKey>
<DetailsOfEachPerson>
<Person>
<PersonName>
<FirstName>Tom</FirstName>
<MiddleName>A</MiddleName>
<LastName>Barnes</LastName>
</PersonName>

<PersonName>
<FirstName>Jason</FirstName>
<MiddleName>B</MiddleName>
<LastName>Pal</LastName>
</PersonName>
</Person>
</DetailsOfEachPerson>
</Details>
</PersonDetails>
Previous Topic:Report Designer enforces invalid SQL for Oracle
Next Topic:watermark and company stamp
Goto Forum:
  


Current Time: Tue Nov 25 02:05:05 GMT 2014

Powered by FUDForum. Page generated in 0.01598 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software