title: How to read arbitrary XML into generic object in Android?
body: <p>I have a whole bunch of XML sources I need to read.  They don't have schemas and, though they are all well formed and contain nothing but strings, they also don't really share a structure; some are only one level deep, others multiple, some contain repeating blocks/records while others contain a bunch of different blocks describing different aspects of a particular record.</p>
  
  <p>Previously, I used <code>javax.xml.parsers.SAXParser</code> with a custom handler to take the XML input and use it to set the fields of a custom object, which was fine when I only had one thing to read, with a fixed structure and number of records that I knew in advance and no sub keys or sub sub keys.  In PHP, I would read the whole thing into a multidimensional associate array, but Java doesn't seem to have an exact equivalent.</p>
  
  <p>I presume I need some kind of <code>Map</code> or <code>List</code> but I don't understand what sort or how to use it.  Is there a standard Android-y way of doing this?</p>