简体   繁体   中英

Create HTML form from XML

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

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

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

Good Luck!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM