title: Unmarshalling XML files into Java objects in Android?
body: <p>I'm making use of an API on the internet that is marshalling objects to XML files. Given that the XSD files are also available I'd like to be able to unmarshall them back in to Java objects once I've downloaded the files.</p>
  
  <p>After looking around it looks like <a href="http://jaxb.java.net/" rel="noreferrer">JAXB</a> is the default library for doing this in Java, but as I'm developing a mobile app the extra 8.6MB dependency just isn't acceptable. I also found <a href="http://xstream.codehaus.org/" rel="noreferrer">XStream</a>, but it still weighs in at 7.9MB.</p>
  
  <p>Poking around the Android SDK it looks like the only real XML parser available is <a href="http://developer.android.com/reference/org/xml/sax/package-summary.html" rel="noreferrer">SAX</a>.</p>
  
  <p>So here's the question:</p>
  
  <ol>
  <li>Is there a way to get SAX to do what I want? </li>
  <li>Is there another tool in the Android SDK that I've missed?</li>
  <li>Is there another library (that's significantly smaller) that will do this?</li>
  </ol>
  
  <p>Thanks.</p>