| Subject: RE: [xsl] flat XML to normal XML From: "Aron Bock" <aronbock@xxxxxxxxxxx> Date: Mon, 16 May 2005 15:08:47 +0000 | 
   <xsl:template match="/">
       <NewDataSet>
           <xsl:for-each select="key('k-transport', 1)">
               <xsl:variable name="t" select="."/>
               <Transport name="{Description}">
                   <xsl:for-each select="key('k-brand', $t)">
                       <Brand name="{Description}">
                           <xsl:for-each select="key('k-model', .)">
                               <Model name="{Description}">
                               </Model>
                           </xsl:for-each>
                       </Brand>
                   </xsl:for-each>
               </Transport>
           </xsl:for-each>
       </NewDataSet>
   </xsl:template>
</xsl:stylesheet>| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] flat XML to normal XML, Borut Bolčina | Thread | RE: [xsl] flat XML to normal XML, Aron Bock | 
| Re: [xsl] flat XML to normal XML, Borut Bolčina | Date | [xsl] XSLT 2.0 Is Way Cool, Eliot Kimber | 
| Month |