cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Ky" <h...@syd.speednet.com.au>
Subject Re: Axis Identifiers
Date Fri, 03 Mar 2000 09:33:31 GMT
Hi List:

Worked it out.  It is a two step process

<xsl:for-each select="menu-item[@caption=$selectedhmenu]">
    <xsl:for-each select="preceding-sibling::menu-item">
        <!-- stuff here -->
    </xsl:for-each>
</xsl:for-each>

My error was that I thought the node to be selected was the
context node whereas it really was the node within which
<xsl:for-each> is nested.  It all makes sense now.

John



Mime
View raw message