Simon Willison’s Weblog

XML textarea validation bookmarklet

Jesse Ruderman’s Blogidate bookmarklets cycle through all of the textareas on the current page and submit their contents for validation. I suggested an alternative approach, and to my great delight has has followed it up with the essential Blogidate XML well-formedness. One click, and each textarea on the page will be checked to see if it contains valid XHTML. If it does, the background goes green—if not, it goes red. Hopefully I’ll never post another invalid entry (my previous solution broke when I switched to application/xml+xhtml).

This is XML textarea validation bookmarklet by Simon Willison, posted on 27th August 2003.

Next: Hire Meyer

Previous: Code Kata

Previously hosted at http://simon.incutio.com/archive/2003/08/27/textareaValidation