You can use the "Random" InputModule to create a random number and then pass it to a stylesheet as a parameter. http://wiki.apache.org/cocoon/InputModules#head-d136caf377577c2d65a16f97af67 89367ac7a7dc
-----Original Message----- From: gerritjan Sent: Friday, 1 October 2004 08:25 Subject: Random selection Hello Does anyone know how to select from a list of records a random set of records within Cocoon <set> <record>1</record> <record>2</record> <record>3</record> <record>4</record> <record>5</record> </set> If I would like two retrieve 2 records out of this set randomly (to surprise viewers); How? Gerritjan Koekkoek --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
