开发者

parsing an xml schema to read/list all elements

So, I wish to parse an xml schema and list all the elements along with their annotation and type. I looked at some java possibilities - the closest was XSOM. It seems like driving a truck trailer to get some milk from the开发者_Go百科 neighborhood store.

I looked at JAXB, but there's no parse and list all elements against schemata.

I don't want to validate- only want to list the elements/type/annotation.

Groovy's xmlsurper is a decent parser, but can't parse XSD. Anything you know in Java,Groovy (or python)?

thank you for your time.


The SAX parser is very simple.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜