title: xsd: same element name, different type (simple and complex)
body: <p>i'm trying for some time to write an xsd file to the following case:</p>
  
  <pre><code>&lt;Values xsi:type="me:ArrayOfValue"&gt;
     &lt;Value xsi:type="xs:int"&gt;1&lt;/Value&gt;
     &lt;Value xsi:type="xs:string"&gt;I'm a string&lt;/Value&gt;
     &lt;Value xsi:type="me:Point"&gt;
        &lt;X&gt;10.2&lt;/X&gt;
        &lt;Y&gt;2.3&lt;/y&gt;
     &lt;/Value&gt;
  &lt;Values/&gt;
  </code></pre>
  
  <p>i have here a combination of <strong>simple type (int, string) and complex (point)</strong>.</p>
  
  <p>if i had only the simple types i know i could easily use the <strong>union</strong> .</p>
  
  <p>so i tried the <strong>choice</strong> option.</p>
  
  <p>problem is, that <strong>i can't use the same name (value) to all the elements</strong></p>
  
  <p>can someone please help me with this??</p>