Welcome to WebmasterWorld Guest from 54.221.9.209

Forum Moderators: httpwebwitch

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
posts:50
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?

Thanks,
Ben

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

Moderator This Forum from CA 

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

joined:Aug 29, 2003
posts:4059
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:
[bitfluxeditor.org...]
but they state explicitly that it only works in Mozilla

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