I\'d like to be able to read in an XML schema (i.e. xsd) and from that know what are valid attributes, child elements, values as I walk through it.
For example, let\'s
Have a look at this. How to parse schema using XOM Parser.
Also, here is the project home for XOM