问题
I want to parse the xsd
file http://pastebin.com/UzN8WnD3.
I try to parse it with this code:
http://pastebin.com/djiFCu2a
How do I parse child elements after getting complexType
elements?
回答1:
Take a look at JAXB Reference Implementation Project and Model Development Tools (MDT). Maybe it helps you. It is the standard way.
Try using the code in Stack Overflow question Java API to parse XSD schema file.
来源:https://stackoverflow.com/questions/7925525/after-getting-complextype-also-parse-its-elements-and-sequences