Hi,
I am new to XSLT. Having problems creating an HTML table (specifically the headers) from an XML file like the following:
<group>
<categorylist >
<category>car </category>
<description>be ntly</description>
</categorylist>
<categorylist >
<category>car </category>
<description>bm w</description>
</categorylist>
<categorylist >
<category>compu ter</category>
<description>de ll</description>
</categorylist>
</group>
So, I need to create a table where the first header (TH) should be 'car' with 2 TRs for 'bently' and 'bmw'. The next header should be 'computer' with only one TR for 'dell'. So, for each categorylist, I need to create a header for all categories with the same value and TRs for their corresponding 'description'.
Any help would be greatly appreciated.
Thanks.
I am new to XSLT. Having problems creating an HTML table (specifically the headers) from an XML file like the following:
<group>
<categorylist >
<category>car </category>
<description>be ntly</description>
</categorylist>
<categorylist >
<category>car </category>
<description>bm w</description>
</categorylist>
<categorylist >
<category>compu ter</category>
<description>de ll</description>
</categorylist>
</group>
So, I need to create a table where the first header (TH) should be 'car' with 2 TRs for 'bently' and 'bmw'. The next header should be 'computer' with only one TR for 'dell'. So, for each categorylist, I need to create a header for all categories with the same value and TRs for their corresponding 'description'.
Any help would be greatly appreciated.
Thanks.
Comment