如何从 DTD 创建 GUI?
我的 xml 配置非常复杂。它们使用 dtd 进行验证。我正在寻找一些读取 dtds 并提供 GUI 界面来编写 xml 的应用程序。这样我们就不用手工写xml了。如果什么都没有,如何开始开发呢?
I have xml configs which are very complex. They are validated using dtds. I am looking for some application which reads the dtds and provides a GUI interface to write xmls. So that we don't have to write xmls by hand. If there is nothing existing already, how to start with developing one?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您尝试过 Eclipse 吗?
您可以根据 DTD 编辑 XML 文件。
如果您的受众不是面向开发的,您可以看看Editix XML Editor(免费版本已经完全可用) usable) 或 Notepad++ (经典 Windows 记事本和 Eclipse 之间的奇怪组合;))。
否则,如果您想编写代码,请查看wxPython,其中有一些用于编辑/查看 HTML 的小部件和 XML。
did you try Eclipse?
You can edit XML files according to the DTD.
If your audience is not development oriented, you can have a look to Editix XML Editor (the free version is already fully usable) or Notepad++ (a strange mix between the classic windows notepad and eclipse ;) ).
Otherwise, if you want to write come code, have a look to wxPython there are some widgets to edit/view HTML and XML.
查看 oXygen XML 作者。它不像 oXygen XML Editor 那样适合程序员/开发人员。它是一个所见即所得的 XML 创作工具。您可以创建 CSS 样式表来以作者轻松创建/修改 XML 的方式显示 XML。
它不是免费的,您必须创建用于显示的 CSS,但这比尝试从头开始开发东西要好得多。它还支持创建模板,以便作者可以从基本 XML 文件开始,然后修改/更新。
Take a look at oXygen XML Author. It's not intended for programmers/developers like oXygen XML Editor is. It's a WYSIWYG XML authoring tool. You can create CSS stylesheets to display the XML in a way that is easy for the authors to create/modify the XML.
It's not free and you'll have to create CSS for display, but it is much better than trying to develop something from scratch. It also supports creating templates so that authors can start with a base XML file and then modify/update.