Generate castor xml from xsd

社会主义新天地 提交于 2019-12-24 07:13:51

问题


I am currently using the Jaxb for Marshalling/Unmarshalling. However I need to use castor due to "demands" and use castor xml instead of castor java classes. I found castor's SourceGeneratorMain which generates xsd to java classes, but I cannot find anything that generates castor xml from xsd. I would just type it out but the xsd im working is huge with more than 2500 lines and over a hundered parameter various arrays in there. Im sure Im going to screw up something, if I type it out.

Has any one used any sort of tool to do this? or what is the most efficient way to get a castor xml from a xsd.

Thanks in advance.

来源:https://stackoverflow.com/questions/27426218/generate-castor-xml-from-xsd

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