Print a random node?

biffjo <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
I have an XML file with 3 items. I am looping through this file from within
an .ftl template. Is it possible to randomly print only one of the items? If
so, what is the best approach?

Thanks in advance,
B
-- 
View this message in context: http://www.nabble.com/Print-a-random-node--tp15633526p15633526.html
Sent from the freemarker-user mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.