title: Convert xml to java bean
body: <p>How can I covert a an xml file to a simple java bean?
  Its a simple xml file without any xsd, which was generated from a java bean, which I don't have access to.</p>
  
  <p>I tried using xmlbeans to first generate the xmd from xml and then to generate classes from the xsd. I got a bunch of classes. I am looking for a single java bean class.</p>