title: Difference between a named Complex Type and an anonymous Complex Type in an Element
body: <p>What is the difference between...</p>
  
  <pre><code>&lt;xsd:element name=”add”&gt;
  &lt;xsd:complexType&gt;
      &lt;xsd:sequence&gt;
          &lt;xsd:element name="x" type="xsd:float"/&gt;
          &lt;xsd:element name="y" type="xsd:float"/&gt;
      &lt;/xsd:sequence&gt;
  &lt;/xsd:complexType&gt;
  &lt;/xsd:element&gt;
  </code></pre>
  
  <p>and...</p>
  
  <pre><code>&lt;xsd:complexType name=”add”&gt;
      &lt;xsd:sequence&gt;
          &lt;xsd:element name="x" type="xsd:float"/&gt;
          &lt;xsd:element name="y" type="xsd:float"/&gt;
      &lt;/xsd:sequence&gt;
  &lt;/xsd:complexType&gt;
  </code></pre>
  
  <p>Both would appear as:</p>
  
  <pre><code>&lt;add&gt;
      &lt;x type="xsd:float"&gt;1.00&lt;/x&gt;
      &lt;y type="xsd:float"&gt;2.00&lt;/x&gt;
  &lt;/add&gt;
  </code></pre>
  
  <p>In the SOAP envelope...so is there any definitive difference between the two definitions?</p>