Re: [xsl] Sorting and grouping

Subject: Re: [xsl] Sorting and grouping
From: "Laura Jenkins" <xsl_list@xxxxxxxxxxx>
Date: Fri, 05 Apr 2002 14:57:34 +0000

Now i need to create an xsl, which shows the output as,


Microsoft (*) MCP (*) MCSE

Oracle
(*) OCP (*) DBA


the * stands for the checkboxes.



The problem is i need to group all the subcertifications under the certifications and create the html.

can u suggest me how to group them in xslt.


Hi Prashant.
If you can be a bit more clear as to what is the basis of your grouping, it will be helpful for us to give u a solution.
do you want to group according to the the type of cert..(viz. Microsoft/Oracle)??
laura


From: "Prashant  Danda" <fresh_ant@xxxxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Sorting and grouping
Date: 5 Apr 2002 10:59:42 -0000

hi,

I have the following xml file,

<queryResult val="t">
<table>
<row>
<field fid="certmapId">1</field>
<field fid="certDetail">Microsoft</field>
<field fid="subcertDetail">MCSE</field>
</row>

<row>
<field fid="certmapId">2</field>
<field fid="certDetail">Microsoft</field>
<field fid="subcertDetail">MCSD</field>
</row>

<row>
<field fid="certmapId">3</field>
<field fid="certDetail">Oracle</field>
<field fid="subcertDetail">OCP</field>
</row>

<row>
<field fid="certmapId">4</field>
<field fid="certDetail">Oracle</field>
<field fid="subcertDetail">DBA</field>
</row>
</table>
</queryResult>

Now i need to create an xsl, which shows the output as,


Microsoft (*) MCP (*) MCSE

Oracle
(*) OCP (*) DBA


the * stands for the checkboxes.



The problem is i need to group all the subcertifications under the certifications and create the html.

can u suggest me how to group them in xslt.

bye


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list






_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread