XML editing component

I am using an html HTML page to edit and submit xml on a server. To make it more useful, I would like to get an HTML based solution with the following properties:

  • Highlight XML syntax during editing (required);
  • Lightweight (e.g. 5+ MB too) (required)
  • Validate XML on the fly or on demand (e.g. by clicking a button) (optional)
  • Be free (it’s enough, but I’m open to a paid solution if it really covers all the requirements);

Thanks for any suggestions!

+4
source share
1 answer

You might want to check out CodeMirror , which has XML syntax highlighting, autocomplete, tag closure, and some other great features.

I'm not sure that CodeMirror includes XML validation as such, but it shouldn't be very difficult to add if you can just use XmlHttpRequest to submit content to the XML validation online service. >

+5
source

All Articles