title: Attributes and values in suds
body: <p>I have some troubles with complextype in wsdl. Here part of wsdl:</p>
  
  <pre><code>&lt;xs:element name="Params" nillable="true"&gt;                   
      &lt;xs:complexType&gt;                                                                       
          &lt;xs:sequence&gt;                                                                      
              &lt;xs:element name="Param" minOccurs="0" maxOccurs="unbounded"&gt;
                  &lt;xs:complexType&gt;                             
                      &lt;xs:simpleContent&gt;                       
                          &lt;xs:extension base="xs:string"&gt;      
                              &lt;xs:attribute name="name" type="xs:string"/&gt;
                          &lt;/xs:extension&gt;                      
                      &lt;/xs:simpleContent&gt;                      
                  &lt;/xs:complexType&gt;                            
              &lt;/xs:element&gt;                                                                  
          &lt;/xs:sequence&gt;                                                                     
      &lt;/xs:complexType&gt;                                                                      
  &lt;/xs:element&gt;
  </code></pre>
  
  <p>result fields in SOAP-req must be like:</p>
  
  <pre><code>&lt;ns0:Params&gt;
      &lt;ns0:Param ns1:name="name1"&gt;val1&lt;/ns1:Param&gt;
      &lt;ns0:Param ns1:name="name1"&gt;val1&lt;/ns1:Param&gt;
  &lt;/ns0:Params&gt;
  </code></pre>
  
  <p>Suds give me next type:</p>
  
  <pre><code>&gt;&gt;&gt; client.factory.create("Payment.Params.Param")  
  (Param){  
      _name = ""  
  }
  </code></pre>
  
  <p>If I set _name, suds generate XML:</p>
  
  <pre><code>&lt;ns0:Params&gt;
      &lt;ns0:Param name="name1"/&gt;
      &lt;ns0:Param name="name2"/&gt;
  &lt;/ns0:Params&gt;
  </code></pre>
  
  <p>So, I can set attribute name for "Param", but how I can set value?</p>