使用XSD生成XML文件 [英] Generating XML file using XSD

查看:122
本文介绍了使用XSD生成XML文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在处理XML数据的C#应用​​程序.我已经有了XSD文件,并且必须根据XSD生成XML文件.我知道的1个解决方案是使用xsd.exe(通过genratign类文件),但是这里的要求是完全不同的.在这里,用户可以在运行时提供任何XSD,并且根据动态模式,我必须根据模式生成XML文件.是否有可能做到这一点?如果是,那么可能的解决方案是什么?

Hi,
I am working on c# application dealing with XML data. I''ve got the XSD file and I have to generate XML file depending on the XSD. 1 solution I know is, using xsd.exe(by genratign class file), but here requirement is quite different. Here, user can give any XSD at run time and according to dynamic schema I have to generate XML file depending on the Schema. Is it possible to achive this? If yes then what are the possible solutions?

推荐答案



检查此工具.
http://xsd2code.codeplex.com/ [ ^ ]
也许它具有满足您需求的功能...
Hi,

Check this tool.
http://xsd2code.codeplex.com/[^]
Maybe it has feature that can fit your needs...


这篇关于使用XSD生成XML文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆