Darn! I was just trying to do that!
You might remember one of my pet projects, a Module Reviews (again!)
So I was just trying to write a simple CGI that would do this, and I came up with this simple way to write a template to generate the form:
<conf> <category id="usage" html="select" multiple="multiple"> <name>Usage</usage> <option id="read">Read Docs</option> <option id="tested">Tested</option> <option id="rejected">Rejected</option> <option id="used">Used</> <option id="used_a_lot">Used a lot</option> </category> <category id="quality" html="radio" type="number" range="0-5"> <name>Quality</name> </category> <category id="documentation" html="radio" type="number" range="0-5"> <nameDocumentaion></name> </category> <category id="support" html="radio" type="number" range="0-5" na="ye +s"> <name>Support</name> </category> </conf>
Now I plan to use this config file to both generate the input form and then to drive the generation of the XML created when the form is used.
Does this makes sense? And is this close to what you want to do?
I'll have the code later, sorry, you just caught me in the act of writing it ;--(
In reply to RE: XML to CGI form
by mirod
in thread XML to CGI form
by BastardOperator
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |