[Home] [By Thread] [By Date] [Recent Entries]

Subject: AW: simple conditional looping
From: <christof.hoeke@xxxxxxx>
Date: Mon, 16 Aug 2004 13:13:05 +0200
> Von: David Carlisle [mailto:davidc@xxxxxxxxx]
> Betreff: Re:  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

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member