which is the xpath I posted previously isn't it?
<xsl:variable name="$pageID" select="938"/>
<xsl:for-each select="//menuItem[pageID =
$pageID]/descendant-or-self::menuItem">
Umm...apparently the xpath you posted previously that I missed. ;o)
YES! That works, though I don't quite understand the syntax.
I think it says:
Select any menuItem (//menuItem)
That has a pageID of x ([pageID = $pageID])
And is or is a descendant of said page (/descendant-or-self::menuItem)
Did I get that about right? It's the last part that I don't fully
understand.
-Darrel
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--