title: Defining an XSD complexType with same attribute and element name
body: <p>How can I define a complexType in a XSD, which can have an attribute and an element with the same name? </p>
  
  <p>For example:</p>
  
  <pre><code>&lt;configuration&gt;
     &lt;configure name="variable1" value="val1"/&gt;
     &lt;configure name="variableList"&gt;
         &lt;value&gt;val1&lt;/value&gt;
         &lt;value&gt;val2&lt;/value&gt;
         &lt;value&gt;val3&lt;/value&gt;
     &lt;/configure&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>How could write an XSD for this?</p>