build or modify the xml w/ php. or pickup a book on xsl :) -nathan On 7/29/07, Kelvin Park <kelvinpark86@xxxxxxxxx> 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 > >