cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Ky" <>
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 -->

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.


View raw message