|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: how to limit number of items shown
On Sun, May 31, 2009 at 6:31 AM, Dmitri Snytkine <d.snytkine@xxxxxxxxx> wrote: > What I need is a way to make sure I show no more than 10 items, even > if XML has 25 items. I think, you can do: <xsl:for-each select="item[position() < 11]"> .. </xsl:for-each> you only iterate the items you are interested in. > I know XSL 1 does not have a real "for loop", only foreach
|
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
|






