[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: What's wrong with my ancestor syntax?
>I think, in english, I want to say "grab every menuItem that has a >pageID of 938 or is a child of a menuItem with a pageID of 938" 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"> David
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|