If you want to randomize data, XSLT can't do that.
If you want to sort data, use xsl:sort. For grouping check out the xslt FAQ (search on google for it)
simon
On Monday, February 24, 2003, at 10:26 PM, Alex Sergeyev wrote:
Hello,
I'm thinking today about problem that seems simple but I don't know XSL/XSP enough to imagine best way to solve it....
I have sequence: <main> <sub>a</sub> <sub>b</sub> ... <sub>n</sub> </main>
I should transform this to get RANDOMIZED sequence of sub-elements each time for each user. I can write my taglib but I would not like to rename sub to mytaglib:sub elements... Also I wish to have more universal way to be able re-order later big branches instead of such simple sequences...
What can you advice?
Thanks in advance,
Alex.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
anti-spam: do not post this address publicly
www.simonwoodside.com -- 99% Devil, 1% Angel
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
