Hi, let me explain what I am trying to do.

I am uploading xml files containing questionnaire/survey results to my server.
What I need to do is attain some method of allowing the user to manipulate the data from a webpage.

For example, I want to allow the user to be able to click on a page, option Build histogram-> then they choose the variable set from a dropdown list
- or -
The user selects calculate mean -> then selects the question to calculate the mean on.
I hope you see my issue. I need to, for want of a better phrase, read the XML data into a buffer, which a dropdown list can display, to allow the user to choose items to work with.

I'm sure there is a simple method for this I am new to the field however.
Any ideas would be greatly appreciated, im not looking for specific code or anything just a method for doing this. Thanks