Require attributes on elements with unknown names?
<p>I want to write XML with unknown named elements with a few known attributes and an unbounded number of unknown attributes. How is this done, something like the following?</p>

<p><strong>XML</strong></p>

<pre><code>&lt;Nodes&gt;
 &lt;COM.US.BattleShip UUID="adaKAj62ja" "X="4" Y="4" cannons="5" crew="50"&gt;
 &lt;COM.US.Cruiser UUID="dhRTV53ga" "X="4" Y="4" destroyed="true"&gt;
&lt;/Nodes&gt;
</code></pre>

<p><strong>XSD</strong></p>

<pre><code>&lt;xsd:element name="Nodes"&gt;
  &lt;xsd:complexType&gt;
    &lt;xsd:sequence&gt;
      &lt;xsd:element&gt;
        &lt;xsd:complexType&gt;
         &lt;xsd:attribute name="UUID" type="xsd:string" use="required"/&gt;
         &lt;xsd:attribute name="X" type="xsd:int" use="required"/&gt;
         &lt;xsd:attribute name="Y" type="xsd:int" use="required"/&gt;
         &lt;xsd:attribute type="xsd:string" maxOccurs="unbounded"/&gt;
        &lt;/xsd:complexType&gt;
      &lt;/xsd:element&gt;
     &lt;/xsd:sequence&gt;
  &lt;/xsd:complexType&gt;
&lt;/xsd:element&gt;
</code></pre>