Hello community,
I created a table that grows dependent on the data in the XML schema.
The XML schema looks like this e.g.:
<ITEM>
<ID> 10</ID>
<FIELD1>Test1-10</FIELD1>
<FIELD2>Test2-10</FIELD2>
<FIELD3>Test3-10</FIELD3>
</ITEM>
<ITEM>
<ID> 20</ID>
<FIELD1>Test1-20</FIELD1>
<FIELD2></FIELD2>
<FIELD3>Test3-20</FIELD3>
</ITEM>
<ITEM>
<ID> 30</ID>
<FIELD1>Test1-30</FIELD1>
<FIELD2>Test2-30</FIELD2>
<FIELD3>Test3-30</FIELD3>
</ITEM>
These item positions should be printed in a table. Therefore, I bind the fields in the first growing row to itemID, field1, field2 and field3.
But now I got this results: If there is no value in Field 2 in the Item ID 20, then there is simply the next value of Item ID 30 displayed. See following example:
Item ID | Field 1 | Field 2 | Field 3 |
---|
10 | Test1-10 | Test2-10 | Test3-10 |
20 | Test1-20 | Test2-30 | Test3-20 |
30 | Test1-30 | | Test3-30 |
How can I make sure that the values in the fields match the item ID? Which method can be used for this? I think to set presence to hidden is the wrong way because I want to display the value in the row below...
Can you help probably Bruce BR001?
Thanks in advance.
Best regards,
Deborah