xsl-list
[Top] [All Lists]

AW: simple conditional looping

2004-08-16 04:13:05
Von: David Carlisle [mailto:davidc(_at_)nag(_dot_)co(_dot_)uk]
Betreff: Re: [xsl] simple conditional looping


  <xsl:for-each select="//*[position() &lt; 50]">

Needs to be:

<xsl:for-each select="(//*)[position() &lt; 50]">
                      ^   ^
David


maybe a silly question, but why exactly do you need the ()? something like //* 
with a predicate [] should be enough or not?

thanks
chris