I have an xml of the following form
<operation>
<update>
<wogroup>id1</wogroup>
<woid>SL0001</woid>
<status>NEW</status>
</update>
<update>
<wogroup>id1</wogroup>
<woid>SL0001</woid>
<status>OPEN</status>
</update>
<update>
<wogroup>id1</wogroup>
<woid>SL0001</woid>
<status>CLOSED</status>
</update>
<update>
<wogroup>id1</wogroup>
<woid>SL0002</woid>
<status>NEW</status>
</update>
<update>
<wogroup>id2</wogroup>
<woid>SL00011</woid>
<status>OVERRIDE</status>
</update>
<update>
<wogroup>id2</wogroup>
<woid>SL00011</woid>
<status>CLOSED</status>
</update>
<update>
<wogroup>id2</wogroup>
<woid>SL00021</woid>
<status>NEW</status>
</update>
</operation>
I have no saying on how the xml looks like, but I need to make a report in html. I would like to see an html like
Group : id1
WO : SL001
NEW
OPEN
CLOSED
WO : SL002
NEW
Group : id2
WO : SL0011
OVERRIDE
CLOSED
WO : SL0021
NEW
I succeed in grouping on wogroup or woid, but not in a nested way ... anyone a suggestion?