Hi,

 

I used castor to generate source code from xml schema. 

 

The following schema will generate a Report class with an array list.

 

<xs:complexType name="Report">

<xs:complexContent>

                                <xs:extension base="base:ParameterSet">

                                                <xs:sequence>

                                                                <xs:element 
name="aList" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>

                                                </xs:sequence>

                                </xs:extension>

                </xs:complexContent>

</xs:complexType>

 

Now I'd like to generate a hash map instead of a list. How should I change the 
xml schema? Which configuration file have I to change and how?

 

 

Regards,
Gerrit Scholz
_____________________________________

SALT Solutions GmbH
Gerrit Scholz
Argelsrieder Feld 1a
82234 Oberpfaffenhofen
DEUTSCHLAND

Fon:   +49.8153.90173.83
Fax:   +49.8153.90173.20
Mail:   [EMAIL PROTECTED]

www.salt-solutions.de

Geschäftsführer: Dr. Bernhard Blüthner, Dieter Heyde, Markus Honold
Sitz: Oberpfaffenhofen, AG München, HRB 146081

 

Reply via email to