<?xml version="1.0" encoding="windows-1252"?>
<node id="1019167" title="Re^3: CGI form results to XML" created="2013-02-17 12:04:14" updated="2013-02-17 12:04:14">
<type id="11">
note</type>
<author id="1015785">
spencerr1</author>
<data>
<field name="doctext">
&lt;p&gt;7stud I have a question&lt;/p&gt;
&lt;p&gt;where do I put the code you suggested if I want these repeat HTML name and value fields (Birthdays) and all the rest of the name and value fields in the form&lt;/p&gt;
&lt;code&gt;#! /usr/bin/perl
use CGI "param";

print "Content-type: text/html\n\n";
print "&amp;ltresponse&amp;gt&lt;BR/&gt;";

foreach my $name ( param() ) {
		my $values = param ($name);
    print  "&amp;lt$name&amp;gt&lt;I&gt;$values&amp;lt/$name&amp;gt&lt;/I&gt;&lt;BR&gt;";
}
print "&amp;lt/response&amp;gt&lt;BR/&gt;";&lt;/code&gt;

&lt;code&gt;my @birthdays = param ("birthday");&lt;/code&gt;</field>
<field name="root_node">
1019080</field>
<field name="parent_node">
1019091</field>
</data>
</node>
