title: XSD to support top element with different names
body: <p>I need an XSD to support an XML that may have different top element name, but all elements within XML are the same.</p>
  
  <p>Not sure if possible, worth asking.</p>
  
  <p>For example:</p>
  
  <pre><code>&lt;abc&gt;
    &lt;name&gt;&lt;/name&gt;
    &lt;address&gt;&lt;/address&gt;
    &lt;phone&gt;
      &lt;home&gt;&lt;/home&gt;
      &lt;cell&gt;&lt;/cell&gt;
    &lt;/phone&gt;
  &lt;/abc&gt;
  </code></pre>
  
  <hr>
  
  <pre><code>&lt;xyz&gt;
    &lt;name&gt;&lt;/name&gt;
    &lt;address&gt;&lt;/address&gt;
    &lt;phone&gt;
      &lt;home&gt;&lt;/home&gt;
      &lt;cell&gt;&lt;/cell&gt;
    &lt;/phone&gt;
  &lt;/zyx&gt;
  </code></pre>
  
  <hr>
  
  <p>Example XSD:</p>
  
  <pre><code>&lt;xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
    &lt;xs:element name="abc"&gt;
      &lt;xs:complexType&gt;
        &lt;xs:sequence&gt;
          &lt;xs:element type="xs:string" name="name"/&gt;
          &lt;xs:element type="xs:string" name="address"/&gt;
          &lt;xs:element name="phone"&gt;
            &lt;xs:complexType&gt;
              &lt;xs:sequence&gt;
                &lt;xs:element type="xs:string" name="home"/&gt;
                &lt;xs:element type="xs:string" name="cell"/&gt;
              &lt;/xs:sequence&gt;
            &lt;/xs:complexType&gt;
          &lt;/xs:element&gt;
        &lt;/xs:sequence&gt;
      &lt;/xs:complexType&gt;
    &lt;/xs:element&gt;
  &lt;/xs:schema&gt;
  </code></pre>