开发者

Python: Is there a way to generate xsd files based on xml examples

I have a list of xml examples I would like to turn into schemas (xsd files). Exactly what the trang tool does (http://开发者_Go百科www.thaiopensource.com/relaxng/trang.html). I don't like calling trang from my script (i.e doing os.system('java -jar trang...')) - is there a python package I can use instead?


If you are running Jython (http://jython.org/) then you could import trang and run it internally.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜