I am now in need of getting some random values from a list of values in XML. Let me explain it clearly. consider it as my XML.
<data>
<value>
<name>a</name>
<age>1</age>
</value>
<value>
<name>b</name>
<age>2</age>
</value>
<value>
<name>c</name>
<age>3</age>
</value>
<value>
<name>d</name>
<age>4</age>
</value>
<value>
<name>e</name>
<age>5</age>
</value>
</data>
i have to parse 3 values dynamically in a random manner. i.e. if a,b,c are displayed once the next time when the page loaded it has to display d,b,e or any other in a random order. How i have to deal with it.