How to read XML file into a data table type object?

I am trying to figure out how to read in a variety of XML files into an HTTP Servlet. The XML files all represent a data table. What is the best way to do this? I'm trying to avoid being locked into a certain numbers of columns or knowing the names of the columns.I'm not sure the best way to store the data either, I'm not very familar with what data objects are available in java. I was thinking an multidimensional array or a list of lists.Thank you for any advice
 
Back
Top