Subject: RE: select nodes only one level with same name
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 25 May 1999 10:26:28 +0100
|
> Mark Birbeck [mailto:Mark.Birbeck@xxxxxxxxxxxxx] suggested:
>
> <xsl:template match="/">
> <xsl:apply-templates>
> <xsl:template match="operation">
> do something for level 1 ...
> <xsl:apply-templates>
> <xsl:template match="operation">
> before doing something for level 2
> </xsl:template>
> </xsl:apply-templates>
> </xsl:template>
> </xsl:apply-templates>
> </xsl:template>
>
Where on earth does this come from? (Not another Microsoft extension,
surely?)
The April XSLT WD allows only xsl:sort and xsl:param to appear within
xsl:apply-templates.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|