title: Defining an XSD so that XML element will be type="array"
body: <p>My question relates to defining an XSD document. My specific issue is how to define the XSD so that when the XML is generated an element will have type="array". </p>
  
  <p>Desired result would be something like:</p>
  
  <pre><code>&lt;names type="array"&gt;
    &lt;name&gt;
    ......
    &lt;/name&gt;
  &lt;/names&gt;
  </code></pre>
  
  <p>I have experimented using methods recommended on several forums, but from I have found it seems to me like there may not even be a type for array, which confuses me since a resulting XML element can have a type of array.</p>