After getting ComplexType, also parse its elements and sequences

南笙酒味 提交于 2019-12-25 02:15:01

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!