如何从其DTD或XSD生成示例XML文档? [英] How to generate sample XML documents from their DTD or XSD?

查看:152
本文介绍了如何从其DTD或XSD生成示例XML文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发一个涉及大量XML转换的应用程序.我们本身没有任何适当的输入测试数据,只有DTD或XSD文件.我们希望自己从这些文件中生成测试数据.有简单/免费的方法可以做到这一点吗?

We are developing an application that involves a substantial amount of XML transformations. We do not have any proper input test data per se, only DTD or XSD files. We'd like to generate our test data ourselves from these files. Is there an easy/free way to do that?

修改

显然没有免费的工具,我同意OxygenXML是最好的工具之一.

There are apparently no free tools for this, and I agree that OxygenXML is one of the best tools for this.

推荐答案

我认为氧气( http://www.oxygenxml .com/)也可以做到这一点,但这是另一种商业产品.不过,这是一个不错的选择……我强烈建议所有从事XML工作的人推荐它.它也带有一个不错的Eclipse插件.

I think Oxygen (http://www.oxygenxml.com/) does it as well, but that's another commerical product. It's a nice one, though... I'd strongly recommend it for anyone doing a lot of XML work. It comes in a nice Eclipse plugin, too.

我确实相信有一个免费的,功能齐全的30天试用版.

I do believe there is a free, fully-featured 30 day trial.

这篇关于如何从其DTD或XSD生成示例XML文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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