On Mon, 2005-09-05 at 15:59 +0100, Ross Gardler wrote: > Helena Edelson wrote: > > <xsl:for-each select="(articles/[EMAIL PROTECTED]'foo'][position() < 5 > > ]"> > > > > I think the directive I am not understanding is what > > position() < 5 > > is doing. Is it checking an array or vector of types and saying if not null > > return 0-4? > > The last part simply says if the position of a node within the list of > nodes returned by the previous statements is leff than 5 then include it > in the result set. Anything in a square bracket is a test. > > > And I then have those ready for my out.print? > > Not sure what you mean by out.print, there is no such concept in XSLT. > However, yes, the nodes that pass the tests in the XPath statement are > available to whatever you have inside the for-each loop. > > Like I said earlier this list is not a good place to be looking for > general XSLT help. You would be far better going through the tutorials > on http://www.zvon.org, of course, if you have an XSLT problem specific > to Forrest, we will be glad to help. >
In addition, one of the best (if not *the* best) xsl mailing list on the planet: --~------------------------------------------------------------------ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list To subscribe, go to: http://lists.mulberrytech.com/xsl-list/ salu2 -- thorsten "Together we stand, divided we fall!" Hey you (Pink Floyd)