WYSIWYG XML 编辑器(基于 DTD 或 RelaxNG 或 XSD 的语法)

发布于 2024-09-18 13:17:45 字数 242 浏览 3 评论 0原文

我需要为自定义 XML 语法创建一个所见即所得的 XML 编辑器。 我已经探索了该域下我可以找到的所有开源工具。 包括 VEX、Oxygen、Bitflux...

它们都没有达到我的目的。

我还在寻找基于 javascript 的 WYSIWYG HTML 编辑器,它可以支持带有 DTD 或任何语法的附加 DOCTYPE。我已经检查过 FCK 和 CKEditor 以及 TinyMCE 类型的编辑器。

I'm need to make a WYSIWYG XML editor for a custom XML grammar.
I have explored all the OpenSource tools that I could find under this domain.
Includes VEX, Oxygen, Bitflux...

None of them served my purpose.

I'm also looking for javascript-based WYSIWYG HTML editors which can support and additional DOCTYPE with DTD or any grammar. I already checked out FCK and CKEditor and TinyMCE kind of editors.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

娜些时光,永不杰束 2024-09-25 13:17:45

Jaxe 是使用自定义 XML 语法创建 GUI 的理想选择(尽管您可能会说我有偏见,因为其中大部分都是我写的;-)

请参阅 如何在 5 分钟内创建 XML 语言及其 XML 编辑器 为例(您可以跳过“XML 语言的定义”部分,因为您已经有了它)。或者,您可以打开 XSD 文件并选择导出到配置菜单(如配置文件语法文档中所述),以从架构自动创建配置文件。

然而,与其他 XML 编辑器相反,Jaxe 并不试图成为“所见即所得”,它试图成为“所见即所得”,尽管它有图形界面。因此,您所看到的通常看起来不像最终结果,它试图通过可见标签来传达 XML 元素的含义。这会产生语义上更好的文档,但用户需要了解语义编辑的含义,因此这可能是也可能不是您正在寻找的内容......

Jaxe is ideal to create a GUI with a custom XML grammar (although you could say I'm biased, since I wrote most of it ;-)

See How to create an XML language and its XML editor in 5 minutes for an example (you can skip the "Definition of the XML language" part since you already have it). Or you can open an XSD file and choose the export to config menu as explained in the configuration files syntax documentation, to automatically create a config file from a schema.

However, as opposed to other XML editors, Jaxe does not try to be "WYSIWYG", it tries to be "WYSIWYM", even though it has a graphical interface. So, what you see generally does not look like the end result, it tries to convey the meaning of the XML elements, with visible tags. This results in semantically better documents, but users need to be aware of what semantic editing means, so that might or might not be what you're looking for...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文