最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - HTML component for XML editing - Stack Overflow

programmeradmin0浏览0评论

I apply html HTML page to edit and send xml on the server. To make it more useful I would like to have HTML based decision with following properties:

  1. Highlight XML syntax during editing (required);
  2. Lightweight in size (e.g. 5+ Mb is too much) (required)
  3. Validate XML on-the-fly or by request (e.g. by button press) (optional)
  4. Be free (is pretty required, but I'm open for paid decision if it really covers all requirements);

Thanks for any suggestions!

I apply html HTML page to edit and send xml on the server. To make it more useful I would like to have HTML based decision with following properties:

  1. Highlight XML syntax during editing (required);
  2. Lightweight in size (e.g. 5+ Mb is too much) (required)
  3. Validate XML on-the-fly or by request (e.g. by button press) (optional)
  4. Be free (is pretty required, but I'm open for paid decision if it really covers all requirements);

Thanks for any suggestions!

Share Improve this question edited Feb 22, 2013 at 23:56 Raman asked Feb 22, 2013 at 23:51 RamanRaman 8854 gold badges12 silver badges28 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 6

You may wish to check out CodeMirror, which has XML syntax highlighting, autoplete, tag closing, and some other great features.

I'm not certain that CodeMirror includes XML validation per se, but it shouldn't be very difficult to add if you can just use an XmlHttpRequest to send the content to an online XML validation service of some sort.

发布评论

评论列表(0)

  1. 暂无评论