且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从 XML 实例文档生成 XSD 模式的任何工具?

更新时间:2022-05-03 01:33:22

Microsoft XSD 推理工具 是一个很好的免费解决方案.许多 XML 编辑工具,例如 XmlSpy(由 @Garth Gilmour 提到)或 OxygenXML Editor 也具有该功能.不过,它们相当昂贵.BizTalk Server 也有一个 XSD 推断工具.

the Microsoft XSD inference tool is a good, free solution. Many XML editing tools, such as XmlSpy (mentioned by @Garth Gilmour) or OxygenXML Editor also have that feature. They're rather expensive, though. BizTalk Server also has an XSD inferring tool as well.

我刚刚发现了 .net XmlSchemaInference 类,所以如果你使用 .net 你应该考虑

edit: I just discovered the .net XmlSchemaInference class, so if you're using .net you should consider that