Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Online XML Editor for User Generated Content?

10:17 pm on Jul 3, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 6, 2005
votes: 0

I am creating a web application where users can upload XML files which are then put in a database and displayed as content later. Does anybody know a tool or set of scripts to edit a XML file preferably with PHP or JavaScript?

I basically only need the <elements> and <element name="attribute"> color-coded and run a check if it is valid XML before it is being put in the database.

Maybe the best to do it myself?


2:41 am on July 8, 2009 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 29, 2003
votes: 0

So you want something that enhances a <textarea> with colorization and validation for XML? I don't know any in-browser XML editors...

Here's one:
but they state explicitly that it only works in Mozilla

Here's a code highlighter I've used which does a nifty job:
it will colorize XML, but it's not an editor