<?xml version="1.0" encoding="windows-1252"?>
<node id="1017180" title="Re: XML module which one" created="2013-02-05 09:12:18" updated="2013-02-05 09:12:18">
<type id="11">
note</type>
<author id="647953">
sundialsvc4</author>
<data>
<field name="doctext">
&lt;p&gt;
One thing to watch out for as you do this is ... &lt;em&gt;multiple responses&lt;/em&gt; to the same CGI-variable. &amp;nbsp; These appear as multiple occurrences in the data-stream, &lt;i&gt;e.g.:&lt;/i&gt;
&lt;/p&gt;&lt;p&gt;
&lt;tt&gt;var1 = 'foo'&lt;br/&gt;var1 = 'bar'&lt;/tt&gt;
&lt;/p&gt;&lt;p&gt;
Make sure to use a CGI-variable parsing routine that handles that for you, and be sure also to put it to the test. &amp;nbsp; Multiple selections from a drop-down list can do this, or poorly-written HTML. &amp;nbsp; Be sure that your code, and your test suite, represents and correctly handles all cases that could exist. 
&lt;/p&gt;&lt;p&gt;
(Mind you ... test it all the way up-and-down the line, including whatever logic is ultimately going to consume that XML file.)
&lt;/p&gt;</field>
<field name="root_node">
1017043</field>
<field name="parent_node">
1017043</field>
</data>
</node>
