How to parse an xsd file which has nested elements(complexType and simpleType elements and attributes)?
问题 I have an xsd file like that: <?xml version="1.0" encoding="utf-8" ?> <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="transfer"> <xs:complexType> <xs:sequence> <xs:element name="sourceGLN" type="xs:string" minOccurs="1" maxOccurs="1" /> <xs:element name="destinationGLN" type="xs:string" minOccurs="1" maxOccurs="1" /> <xs:element name="actionType" minOccurs="1" maxOccurs="1"> <xs:simpleType> <xs