xml - 使用 Eclipse 的 XSD Schema 图

标签 xml eclipse xsd emf

Eclipse 有一个 XML 透视图,可以方便地开发 XML 和 XML Schemas (XSD)。
一个好处是它允许您创建模式的图表(png),但它似乎一次只做一个级别。
我的 XSD 包含许多复杂类型,每种类型可能引用一个或多个复杂的子类型,我只想要一个完整的(从顶层到底层)结构的漂亮图表。
关于如何在 Eclipse 中执行此操作的任何想法?

问候

最佳答案

假设您已经安装了 EMF(Eclipse 建模框架),您可以执行以下操作来创建 XSD 图表。
enter image description here
enter image description here
enter image description here
enter image description here
enter image description here
enter image description here
enter image description here
enter image description here
enter image description here
enter image description here
enter image description here
通过双击说双击的文本完成。然后你最终得到一个 XSD 的图表。
enter image description here

关于xml - 使用 Eclipse 的 XSD Schema 图,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49203477/

相关文章:

.net - .Net 4.5 是否支持 XML 1.1(对于 XML 1.0 中无效的字符)?

eclipse - 如何根据工作空间更改eclipse窗口颜色?

.net - 使用 xsd.exe 从程序集中的类型生成 XSD,在属性上具有数据注释属性

javascript - 如何从 JavaScript 发送带有数据作为 xml 元素的 put 请求?

php - NuSoap - 允许在 addComplexType 中嵌套数组?

java - 防止 Restful 中的 xml 转义 (JAXRS)

c++ - 使用 Cygwin 编译器将 Qt 项目编译到 Eclipse 中

eclipse - 插件产品 VS 功能产品

java - 使用 jaxb 解码在外部 xsd 中定义的 xml 元素

c++ - XSD : How to make a polymorphic "list"?