Re: [xsl] Random selection

Subject: Re: [xsl] Random selection
From: sudheshna iyer <sudheshnaiyer@xxxxxxxxx>
Date: Sun, 30 Nov 2008 07:13:14 -0800 (PST)
Here is the more clear explanation of what I am looking for:

I need to select an image from pool of images randomly and produce <img src> element of html.

This xsl should read the image tags from xml and based on the number of image tag nodes in the xml, it
should display random image by producing <img src> element of html.

Thank you for your help.



--- On Sun, 11/30/08, sudheshna iyer <sudheshnaiyer@xxxxxxxxx> wrote:

> From: sudheshna iyer <sudheshnaiyer@xxxxxxxxx>
> Subject: [xsl] Random selection
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Date: Sunday, November 30, 2008, 9:48 AM
> I need to select an image from pool of images randomly and
> produce <img src> element of html.
> 
> How can achieve this? Can I get some code help?
> 
> Thank you in advance for your help.

Current Thread