Re: About XSL Transformation
| From: | Nathan Nobbe | Date: | Sun, 29 Jul 2007 18:07:35 +0000 |
| Subject: | Re: About XSL Transformation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-259774@lists.php.net to get a copy of this message | ||
build or modify the xml w/ php.
or pickup a book on xsl :)
-nathan
On 7/29/07, Kelvin Park <kelvinpark86@gmail.com> wrote:
>
> I have an XML file with 10 products with their registered dates(dates
> when they were created).
> My XSL code is set so that it sorts the products in descending
> order(latest to oldest) by registered dates.
> I tried to declare xsl:variable to increment within xsl:for-each,
> however I ran in to some dead ends.
> How do I print only the 5 latest products?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>