Campbell Ritchie wrote:You ought to have declared it as Rob told you. You can iterate a List<List<Foo>> in a for-each loop, with each element found being a List<Foo>. Like this:
Awesome! Thank you guys so much! You are legends! I have gotten it to work. I now read the XML, and put into a List of Lists, then return that back to the main class.
Now I have to figure out how to sort through them (by certain fields)/
This is the XML:
I need to be able to order it by date (ascending, and descending). The date is of course, in UNIX timestamp.
Note that I'm not sorting XML, I'm sorting through the List of Lists.
Can you guy please point me in the right direction? Thanks so much for your help.