有没有用户友好的 XML 编辑器? 我找不到任何好的东西,最好是开源的

发布于 2024-07-05 08:20:21 字数 102 浏览 3 评论 0 原文

采用 XML 模式并允许您添加/编辑数据但不更改 XML 结构的东西,最好安装在服务器上。 基本上是一个作为 Web 应用程序来编辑 xml 文档的 UI。 一定有人已经这么做了,对吗?

Something to take an XML schema and let you add/edit data but not change the XML structure, preferably installed on a server. basically a UI to edit xml documents as a web app. Someone has got to have done this already right?

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

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

发布评论

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

评论(12

悲喜皆因你 2024-07-12 08:20:21

使用合适的插件尝试一下 vim (http://www.vim.org /scripts/script.php?script_id=301)。

/艾伦

Give vim a try with a suitable plugin (http://www.vim.org/scripts/script.php?script_id=301).

/Allan

戏舞 2024-07-12 08:20:21

XML 编辑器 是免费的(而各种 FO 转换器不是免费的),您可以将其与 FOP(来自 Apache 项目)。 带有 psgml 模块的 Emacs 可以与 vim 一起完成此操作,但两者可能都更low-lovel)。 Eclipse 也可以做到,但 iut 是相当重量级的。

XML Editor is free (whereas the various FO converters are not) and you can use it with FOP (from the Apache project). Emacs with the psgml module can do it along with vim but both probably more low-lovel). Eclipse can do it too but iut is rather heavyweight.

淡看悲欢离合 2024-07-12 08:20:21

EclipseOxygen 插件,这是我的推荐,免费开源并且使用非常广泛。 Altova XML Spy 是一个很棒的工具,但价格昂贵,他们曾经做过一个免费的非商业用途版本,但现在没有出现在他们的网站上,所以也许他们已经停止了。

What about Eclipse with the Oxygen plugin, that would be my recommendation, free open source and very widely used. Altova XML Spy is a great tool but expensive, they used to do a free non-commercial use edition but that doesn't appear on their website now so perhaps they have discontinued that.

鸩远一方 2024-07-12 08:20:21

查看 microsoft 的 XML记事本 2007。 我不太喜欢它,因为它确实将 xml 视为树而不是纯文本,但这就是您想要的,对吧?

Check out microsoft for an XML Notepad 2007. I'm not to fond of it, since it really treats xml as a tree as opposed to plain text, but that is what you want, right?

追风人 2024-07-12 08:20:21

我个人喜欢带有 XMLTools 插件的 Notepad++。
不幸的是,它允许您编辑结构。

I personally like Notepad++ with the XMLTools plugin.
It will unfortunately allow you to edit the structure.

各自安好 2024-07-12 08:20:21

我不认为有一个网络应用程序允许您根据上传的模式编写实例文档(到目前为止......也许我应该写一个?:))。

Altova XMLSpy 几乎是我用过的最好的编辑器,但非常昂贵的。

I don't think there is a web-app that allows you to write an instance document based on an uploaded schema (as yet.. mebbe I should write one? :) ).

Altova XMLSpy is pretty much the best of the editors I have used, but very expensive.

温折酒 2024-07-12 08:20:21

这取决于“用户友好”的含义以及您想要从文本编辑器中获得什么。 我个人使用 emacs 来编辑 xml,但我愿意忍受编辑器的学习曲线,因为它为我提供了强大的功能 - 编辑 XML 现在对我来说相当容易且轻松,但我花了一些时间才掌握到那一点。

oXygen 看起来可能符合您的要求,但它不是免费的。

此页面对 xml 编辑器及其功能进行了很好的比较,似乎是一个很好的起点。

It depends on what you mean by "user friendly", and what you want out of a text editor. I personally use emacs for editing xml, but I'm willing to put up with the learning curve of the editor for the sheer power it gives me - editing XML is now rather easy and painless for me, but it took me a bit to get it to that point.

oXygen looks like it might fit what you want, but it's not free.

This page has a good comparison of xml editors and there features, seems like a good starting point.

奢望 2024-07-12 08:20:21

XML Copy Editor 是免费的且 GPL

XML Copy Editor is free and GPL

雪落纷纷 2024-07-12 08:20:21

Liquid XML 有一个不错的免费版本

更新:(截至 2010 年 3 月 10 日)编辑器似乎不再免费

Liquid XML have a nice free version

update: (as of March 10 2010) it seems that the editor is no longer free

吃不饱 2024-07-12 08:20:21

恕我直言 BXE - Wysiwyg XML 编辑器 可以做到这一点 - 即在浏览器中创建/编辑 XML 文档,基于现有的XML 架构。
我不确定,但您可能必须将其包含在您自己的页面中,它只是编辑器组件,而不是完整的 Web 应用程序。

IMHO BXE - The Wysiwyg XML Editor can do this - i.e. create/edit XML document in browser, based on existing XML Schema.
I am not sure, but you probably have to include it in your own page, it is just the editor component, not the full web application.

谁的年少不轻狂 2024-07-12 08:20:21

Xopus 是一款商业 XML 编辑器,专为非技术人员使用而设计。 Xopus 基于浏览器,可以安装在任何网络服务器上。 Xopus 使用 XML 模式始终保持 XML 文档 100% 有效,并使用 XSLT 提供所见即所得视图。

您可以使用 DOM API 来配置它,以便仅可以更改文本,但不能更改结构。

直接链接到一个演示。

Xopus is a commercial XML editor designed specifically to be used by non-technical people. Xopus is browser based and can be installed on any webserver. Xopus keeps the XML document 100% valid at all times using XML Schema and has a WYSIWYG view using XSLT.

You could use the DOM API to configure it so that only the text can be changed, not the structure.

Direct link to a demo.

桃扇骨 2024-07-12 08:20:21

如果您只想要一个具有代码折叠功能的 XML 编辑器和一个节点资源管理器(Visual Studio 缺少某些东西),Netbeans 两者都有,并且是免费且开源的

Netbeans XML editor

If you just want an XML editor with code folding and a node explorer (something Visual Studio is missing) Netbeans has both, and is free and open source

Netbeans XML editor

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