Convert in XSD - private Map<String,List<abcType>> myMap
<p>How to convert a map containing of String and an user defined Type which defined in another xsd.</p>

<pre><code>private Map &lt;String,List&lt;abcType&gt;&gt; myMap =null;
</code></pre>

<p>abcType.xsd is defined as -</p>

<pre><code>&lt;xsd:schema&gt;
    &lt;xsd:element name="abcType"&gt;
            &lt;xsd:complexType&gt;
                &lt;xsd:sequence&gt;
                    &lt;xsd:element name="myName" minOccurs="0" maxOccurs="unbounded"
                        type="xyzType" /&gt;
                &lt;/xsd:sequence&gt;
            &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
    &lt;xsd:complexType name="xyzType"&gt;
            &lt;xsd:sequence&gt;
                &lt;xsd:element name="KEY" minOccurs="1" maxOccurs="1"&gt;
                    &lt;xsd:simpleType&gt;
                        &lt;xsd:restriction base="xsd:string" /&gt;
                    &lt;/xsd:simpleType&gt;
                &lt;/xsd:element&gt;
                &lt;xsd:element name="VALUE" minOccurs="1" maxOccurs="1"&gt;
                    &lt;xsd:simpleType&gt;
                        &lt;xsd:restriction base="xsd:string"/&gt;
                    &lt;/xsd:simpleType&gt;
                &lt;/xsd:element&gt;
            &lt;/xsd:sequence&gt;
        &lt;/xsd:complexType&gt;
&lt;/xsd:schema
</code></pre>