|
Subject: Re: [xsl] flatened hiearchies for xslt2 From: ac <ac@xxxxxxxxxxxxx> Date: Thu, 08 Mar 2007 01:53:52 -0500 |
<xsl:template name="group">
<xsl:param name="s"/>
<xsl:param name="l" select="1"/>
<xsl:for-each-group select="$s" group-starting-with="*[@level=$l]">
<section id="{@id}">
<xsl:call-template name="group">
<xsl:with-param name="s" select="current-group()[position()!=1]"/>
<xsl:with-param name="l" select="$l+1"/>
</xsl:call-template>
</section>
</xsl:for-each-group>
</xsl:template><xsl:call-template name="group"> <xsl:with-param name="s" select="$sectionlist"/> </call-template>
Thank you, ac
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] flatened hiearchies for x, Dimitre Novatchev | Thread | [xsl] Key to select all same nodes(, Tech Guru |
| [xsl] Use of Select in Params, Karl Stubsjoen | Date | RE: [xsl] Use of Select in Params, Michael Kay |
| Month |