On 02/03/2008, Manfred Staudinger <manfred.staudinger@xxxxxxxxx> wrote:
> I would propose a slightly different approach:
>
> <xsl:for-each select="/Reports/Report/Columns/ColGrp">
> <xsl:apply templates mode="ColGrp"/>
should read
<xsl:apply-templates mode="ColGrp"/>
> </xsl:for-each>
> passing the parameters needed for your processing and using only two
> templates for ColGrp: one for the innermost ColGrp, and one for the
> others
> <xsl:templates match="ColGrp[Col]" mode="ColGrp">
> processing for the innermost ColGrp here
add the apply-templates here:
<xsl:apply-templates mode="ColGrp"/>
> </xsl:for-each>
Manfred
|