Xml help needed
Posted on 2004-10-06
I wanted to ask.. if I have an xml file..
And the file has say 1 root (of course) and maybe 10 child elements/nodes.
I want to output the first child elements values (XmlText) if the user clicks a button.
So on an html form, I want to hit submit and display the first nodes value
The next time I hit submit, I want to display the next nodes values
Sort of like in a line, you come to our site, hit a button and you get the values only in node 1
Next person comes to site, hits same button, they get the values from node 2, etc, etc
Each node has unique values so two users will never get the same values if done correctly.
How can this be done?
In a sense if you were to compare my example to a normal database... Its like hitting a button and getting the first record in the db, hitting it again, you get the 2nd record in db, etc
Hope that makes sense....