WYSIWYG XML Editor (DTD or RelaxNG or XSD based grammars) [closed]

放肆的年华 提交于 2019-12-10 09:45:53

问题


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.


回答1:


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...



来源:https://stackoverflow.com/questions/3675804/wysiwyg-xml-editor-dtd-or-relaxng-or-xsd-based-grammars

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!