Forum Moderators: open
I have found a heap of random number generators but every time I try to use them I get error messages so I guess I'm doing something wrong....
here's what I have (that works):-
<script language="VB" runat="server">'Relative file path to XML data
Dim strXmlFilePath as String = Server.MapPath("quiz.xml")
Dim xDoc as New XPathDocument(strXmlFilePath)
Dim xNav as XPathNavigator = xDoc.CreateNavigator
Dim xNodeIterator as XPathNodeIterator
can anyone show me some way to pull a random XML file up? any help would be muchly appreciated.