title: Generate POJOs without an .xsd?
body: <p>I am looking at JAXB as a way to unmarshal some XML which gets returned from a web service's API into POJOs, but I want to generate the POJOs first instead of writing/annotating them by hand. I came across xjc (POJO generator from JAXB), however it requires an XSD I believe and the web service returns just the XML and there is no XSD/DTD available, so I was wondering what the best way is of going about this.</p>
  
  <ul>
  <li>Is there a way to generate POJOs from straight XML? I am happy to assume all fields are String fields, I don't need type safety.</li>
  <li>Alternatively, there are ways to 'reverse engineer' an XSD from an XML file - are these any good? If so, any particular reason why this functionality isn't built in to tools like xjc?</li>
  </ul>