title: JAXB to be create a map from XSD
body: <p>When JAXB generates this, it create the OtherProperties as a List. How can I configure the XSD so it is generated as a Map?</p>
  
  <pre><code>            &lt;xsd:element name="OtherProperties" minOccurs="0"&gt;
              &lt;xsd:complexType&gt;
                  &lt;xsd:sequence minOccurs="0" maxOccurs="unbounded"&gt;
                      &lt;xsd:element name="Property"&gt;
                          &lt;xsd:complexType&gt;
                              &lt;xsd:attribute name="name" type="xsd:string" /&gt;
                              &lt;xsd:attribute name="value" type="xsd:string" /&gt;
                          &lt;/xsd:complexType&gt;
                      &lt;/xsd:element&gt;
                  &lt;/xsd:sequence&gt;
              &lt;/xsd:complexType&gt;
          &lt;/xsd:element&gt;
  </code></pre>