Re: [xsl] Confused using a loop...

Subject: Re: [xsl] Confused using a loop...
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 28 Mar 2007 16:12:59 +0100
xsl:for-each select="//menuItem[pageID =

That selects a bunch of menu items which may be descendents of each
other) These were the menu items that you want to process, but you don't
process them, just their children (if they have menuItem children)

for each of those you then select $numberOfItemsToList child menuitems
	<xsl:for-each select="menuItem[position() &lt;=
You don't sort these at all.

I don't think you want that inner for-each at all do you?


Current Thread