title: Nokogiri, how to avoid namespaces in children nodes?
body: <p>I have this working code:</p>
  
  <pre><code>require 'nokogiri'
  
  NAMESPACES = {"xmlns:soap" =&gt; "http://schemas.xmlsoap.org/soap/envelope/", "xmlns:soap-enc" =&gt; "http://schemas.xmlsoap.org/soap/encoding/", "xmlns:cwmp" =&gt; "urn:dslforum-org:cwmp-1-0", "xmlns:xsi" =&gt; "http://www.w3.org/2001/XMLSchema-instance", "xml:xsd" =&gt; "http://www.w3.org/2001/XMLSchema"}
  
  b = Nokogiri::XML::Builder.new
  b[:soap].Envelope(NAMESPACES) {
      b[:soap].Header {}
      b[:soap].Body {
          b[:cwmp].GetParameterValues() {
              b.ParameterNames() {
                  b.string "test"
              }
          }
      }
  }
  
  puts b.to_xml
  </code></pre>
  
  <p>which produces:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:cwmp="urn:dslforum-org:cwmp-1-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:xsd="http://www.w3.org/2001/XMLSchema"&gt;
     &lt;soap:Header/&gt;
     &lt;soap:Body&gt;
        &lt;cwmp:GetParameterValues&gt;
           &lt;cwmp:ParameterNames&gt;
              &lt;cwmp:string&gt;test&lt;/cwmp:string&gt;
           &lt;/cwmp:ParameterNames&gt;
        &lt;/cwmp:GetParameterValues&gt;
     &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>Is there a way to avoid the namespace "cwmp" on "ParameterNames" and "string" nodes ?</p>
  
  <p>Thanks</p>