Hi all,
 Any one working on castor Frame work please Help me.
this is my XSD


<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                                          elementFormDefault="qualified">

         <xsd:element name="employee">
           <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="header" >
           <xsd:complexType>
           <xsd:sequence>
           <xsd:element name="Name" type="xsd:string" />
           <xsd:element name="age" type="xsd:integer" />
           </xsd:sequence>
           </xsd:complexType>
            </xsd:element>
            <xsd:element name="body" >
           <xsd:complexType>
           <xsd:sequence>
           <xsd:element name="serviceId" type="xsd:integer" />
           <xsd:element name="salary" type="xsd:integer" />
           </xsd:sequence>
           </xsd:complexType>
            </xsd:element>
            </xsd:sequence>
           </xsd:complexType>
         </xsd:element>


using the source Generator , it will create employee, header, body class. and get/set methods with respect.

But i wanted only one class employee, and all the attribute elements(name ,age,serviceid,salary) should be in the employee class with get/set methods.
Is there any way to get the above .or please suggest me any other way.

thanks in advance