Greetings,
Assume you have a 2 field HTML form, if you wanted to store the results of the form in an XML document how would you do it?
Target the XML document as the source of the form, and include the form names as element names in the XML document? Could i just use the form variable in the XML document? example:
HTML File:
<form method=post action=sample_file.xml>
<input name="field1" size="20"> <input name="field2" size="20">
<input type="submit" value="submit">
</form>
Target XML document:
<field1>$field1</field1>
<field1>$field2</field1>
Am I on the right track?
Assume you have a 2 field HTML form, if you wanted to store the results of the form in an XML document how would you do it?
Target the XML document as the source of the form, and include the form names as element names in the XML document? Could i just use the form variable in the XML document? example:
HTML File:
<form method=post action=sample_file.xml>
<input name="field1" size="20"> <input name="field2" size="20">
<input type="submit" value="submit">
</form>
Target XML document:
<field1>$field1</field1>
<field1>$field2</field1>
Am I on the right track?