Subject: Re: [xsl] how to limit number of items shown From: Mukul Gandhi <gandhi.mukul@xxxxxxxxx> Date: Sun, 31 May 2009 10:34:59 +0530 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] how to limit number of items , Dmitri Snytkine | Thread | Re: [xsl] how to limit number of it, Dmitri Snytkine |
[xsl] how to limit number of items , Dmitri Snytkine | Date | Re: [xsl] how to limit number of it, Dmitri Snytkine |
Month |