title: xsd traversing in java
body: <p>How to traverse XSD using java and put into some data structure? I want to traverse XSD and collect all attributes and their constraints(like min./max values)  The options i see are XSOM(<a href="https://stackoverflow.com/questions/7948389/parsing-xsd-schema-with-xsom-in-java-how-to-access-element-and-complex-types">Parsing XSD Schema with XSOM in Java. How to access element and complex types</a>) which is not maintained. Other option is to use JAXB, to create Java classes and then use reflection to get all the attributes which looks time consuming.
  Is there any other way ?</p>