|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Selecting Random elements
Hi,
Rather than selecting all elements in a given context, is it possible to select a random set of a predifined number. For example given the following XML file which could contain hundreds of images, is it possible to output a randomly selected set of 3 <imglibrary> <img src="1.jpg"/> <img src="2.jpg"/> <img src="3.jpg"/> etc... </imglibrary> The output could be something like: <img src="53"/> <img src="74"/> <img src="81"/> Thanks in advance for your help -- David Elsmore IT Development Manager School of Social Sciences and Law Oxford Brookes University Tel: 01865 484176 email: delsmore@xxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








