I am wondering if there is a simple way to parse an XSD file and extract the folowing
a) a list of all simpleType elements. I would like to get the Name, the RestrictionBase, MinLength, MaxLength and if posible the list of enumeration.
b) a list of all complexTypes and all elements in the sequence with Name, type, min and Max Occurrence
I enclosed a sample file