I have an xml file with the structure
<datatable>
<jmmain_nmmain_archrg>
<last>
<first>
<id>
<charge>
so on
</jmmain_nmmain_archrg>
I am outputting the info into a table on a website. The problem is that if a person has more than one charge, then all the name info, id, etc. is repeated. What I would like to do is that when I get to a new name that all the duplicate name info from the next records would not be picked up and only the charge info from each record picked up for the table.
Tom
<datatable>
<jmmain_nmmain_archrg>
<last>
<first>
<id>
<charge>
so on
</jmmain_nmmain_archrg>
I am outputting the info into a table on a website. The problem is that if a person has more than one charge, then all the name info, id, etc. is repeated. What I would like to do is that when I get to a new name that all the duplicate name info from the next records would not be picked up and only the charge info from each record picked up for the table.
Tom