Fix for adding an undefined XML namespace to the generated XML's child n...

<p>Converting a JSON object into XML was adding an undefined XML namespace attribute to a child element.    This change checks if the childXmlns is defined before allowing the childXmlnsAttribute to be created.  If the chidlXmlns is not defined then no xmlns is added to the child.</p>

<p>For example the following JSON object would generate this XML:</p>

<pre><code>    var args = "Operation": {
                "CreateUser": {
                    "User": {
                        "A": aVar,
                        "B": bVar,
                        "C": cVar,
                        "D": dVar,
                        "E": eVar,
                        "F": fVar
                    },
                    "G":""
                }
            }
     client.admin(args, function(err, result) {};
</code></pre>

<p>Created XML with undefined xmlns in child XML Attribute:</p>

<pre><code>&lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typens="http://schemas.abc.com/abc11" xmlns:wsdlns="http://schemas.abc.com/abc11/wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
    &lt;soap:Header/&gt;
    &lt;soap:Body&gt;
        &lt;typens:Admin xmlns="http://schemas.abc.com/abc11" xmlns:typens="http://schemas.abc.com/abc"&gt;
            &lt;typens:Operation&gt;
                &lt;typens:CreateUser xmlns:typens="undefined"&gt;
                    &lt;typens:User&gt;
                        &lt;typens:A&gt;aVal&lt;/typens:Name&gt;
                        &lt;typens:B&gt;bVal&lt;/typens:Password&gt;
                        &lt;typens:C&gt;cVal&lt;/typens:Description&gt;
                        &lt;typens:D&gt;dVal&lt;/typens:IsLoginDisabled&gt;
                        &lt;typens:E&gt;eVal&lt;/typens:HomeFolder&gt;
                        &lt;typens:F&gt;fVal&lt;/typens:HomeFolder&gt;
                    &lt;/typens:User&gt;
                    &lt;typens:G/&gt;
                &lt;/typens:CreateUser&gt;
            &lt;/typens:Operation&gt;
        &lt;/typens:Admin&gt;
    &lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;
</code></pre>

<p>Expected XML / XML generated with this change:</p>

<pre><code>&lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typens="http://schemas.abc.com/abc11" xmlns:wsdlns="http://schemas.abc.com/abc11/wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
    &lt;soap:Header/&gt;
    &lt;soap:Body&gt;
        &lt;typens:Admin xmlns="http://schemas.abc.com/abc11" xmlns:typens="http://schemas.abc.com/abc"&gt;
            &lt;typens:Operation&gt;
                &lt;typens:CreateUser&gt;
                    &lt;typens:User&gt;
                        &lt;typens:A&gt;aVal&lt;/typens:Name&gt;
                        &lt;typens:B&gt;bVal&lt;/typens:Password&gt;
                        &lt;typens:C&gt;cVal&lt;/typens:Description&gt;
                        &lt;typens:D&gt;dVal&lt;/typens:IsLoginDisabled&gt;
                        &lt;typens:E&gt;eVal&lt;/typens:HomeFolder&gt;
                        &lt;typens:F&gt;fVal&lt;/typens:HomeFolder&gt;
                    &lt;/typens:User&gt;
                    &lt;typens:G/&gt;
                &lt;/typens:CreateUser&gt;
            &lt;/typens:Operation&gt;
        &lt;/typens:Admin&gt;
    &lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;
</code></pre>