About XSL Transformation

From: Date: Sun, 29 Jul 2007 06:32:40 +0000
Subject: About XSL Transformation
Groups: php.general 
Request: Send a blank email to php-general+get-259763@lists.php.net to get a copy of this message
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?

« previous php.general (#259763) next »