How to format content in html textarea as xml on the fly
formatting, html
Solution
Take a look at CodeMirror, a syntax-highlighting editor in Javascript for browsers. This is an example for XML editing.
Problem
I have a page that users are able to add xml markup into a text area input. I'd like after they enter it that it be color-coded and formatted as xml would look in an IDE such as Visual Studio. Anybody know of a script or tool that would allow for this within a client-side browser?