views:

74

answers:

1

I have a number of different xml files that I need to edit from an html form. I want the form to be generated dynamically (the files could any valid xml structure) and I want to save the modified xml content back to the database in the same structure.

I've seen a few examples of using XSLT when you know the structure of the xml, but in this case I don't.

So, two real points:

  1. How do I dynamically create an html form from an unknown xml structure
  2. How do I save the modified content back to the same xml structure
+1  A: 

I JUST ran across this site the other day, maybe it's what you're looking for...

http://www.datamech.com/XMLForm/

Good Luck!

Troy Moon
That looks like exactly the kind of thing I'm after, is it available as a library?
Scobal
@Scobal: Sorry, but I really don't know anything about it. I just happened to stubble across it the other day.
Troy Moon