| Subject: [xsl] Can I group 3 levels somehow From: "gary cor" <stuff4gary@xxxxxxxxxxx> Date: Thu, 21 Mar 2002 20:17:17 | 
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<xsl:param name="im-type"/> <xsl:key name="images-by-type" match="image" use="@imagetype" /> <xsl:key name="images-by-type2" match="image" use="@ordinal" />
<xsl:template match="/"> <xsl:apply-templates /> </xsl:template>
	<xsl:for-each select="key('images-by-type',@imagetype)">
	<xsl:sort select="@ordinal"/>
         <tr>
           <td>
             <xsl:value-of select="@ordinal" />
           </td>
           <td>
             <xsl:value-of select="@imgsrc" />
           </td>
           <td>
             <xsl:value-of select="@imagex" />
           </td>
           <td>
             <xsl:value-of select="@imagey" />
           </td>
           <td>
             <xsl:value-of select="@alt" />
           </td>
           <td>
             <xsl:value-of select="@imagesize" />
           </td>
           <td>
             <xsl:value-of select="@bytesize" />
           </td>
           <td>
             <xsl:value-of select="@imageparentid" />
           </td>
           <td>
             <xsl:value-of select="@imagetype" />
           </td>
           <td>
             <xsl:value-of select="@imageid" />
           </td>
         </tr>
         <!--			<xsl:for-each select="key('images-by-type',@imagetype)">
			<xsl:sort select="imageparentid"/>
         <tr>
           <td>
             <xsl:value-of select="@ordinal" />
           </td>
           <td>
             <xsl:value-of select="@imgsrc" />
           </td>
           <td>
             <xsl:value-of select="@imagex" />
           </td>
           <td>
             <xsl:value-of select="@imagey" />
           </td>
           <td>
             <xsl:value-of select="@alt" />
           </td>
           <td>
             <xsl:value-of select="@imagesize" />
           </td>
           <td>
             <xsl:value-of select="@bytesize" />
           </td>
           <td>
             <xsl:value-of select="@imageparentid" />
           </td>
           <td>
             <xsl:value-of select="@imagetype" />
           </td>
           <td>
             <xsl:value-of select="@imageid" />
           </td>
         </tr>
			</xsl:for-each>-->
</xsl:for-each> </table> <br /> <br /> </xsl:for-each>
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] question regarding Saxon , Yang, Yue [IT] | Thread | Re: [xsl] Can I group 3 levels some, G. Ken Holman | 
| [xsl] linux passwd or htpasswd from, Robert Koberg | Date | [xsl] how to change xml ENCODING dy, dragon | 
| Month |