This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to access to a node content randomly in xsl:for-each loop
- From: Oliver Becker <obecker at informatik dot hu-berlin dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Sat, 16 Feb 2002 09:30:28 +0100 (MET)
- Subject: Re: [xsl] How to access to a node content randomly in xsl:for-each loop
- Reply-to: xsl-list at lists dot mulberrytech dot com
> > I m trying to access the content of a node in random order each time
> > when I run the XSL script, is it possible?
>
> XPath doesn't have a random() function, so it isn't possible without
> using an extension function.
Or, look at
http://www.biglist.com/lists/xsl-list/archives/200202/msg00003.html
Cheers,
Oliver
/-------------------------------------------------------------------\
| ob|do Dipl.Inf. Oliver Becker |
| --+-- E-Mail: obecker@informatik.hu-berlin.de |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list