I am new to cgi modules but more knowledgable than my associates. So I've been recently given the task of generating an xml file from the data provided by a html form. After doing some research I came across CGI:XML and XUpdate(Part of XML:DB). They both seem able to do what I need however I don't know much about either.
Here is what I want to be able to do:
1 - Have a html page with a form
2 - A cgi script that writes the data from the form to an xml file.
This is where the problem begins. How should the html form design coordinate with the cgi script to parse the data into an xml file. I can't find any tutorials on this concept but yet everywhere I read, it is do-able.
I don't have any starter code to display, I just really need someone to point me to a good tutorial on this or a small sample with both the html & perl script.
Any help would be more than I have now. Thanks
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.