Hi Sree,
you can use a different mapping for every scenario.
Regards
Ralf
sbasani schrieb:
> Hi,
>
> I am working on different scenario, please let me know weather it's possible
> to do it using Castor or not. If it's possible to do it using castor please
> let me know the solution.
>
> My XML will is not standard format, it'll change based on the different user
> requests.
>
> For example:
>
> In one scenario I have to marshal the xml file with two attributes firstName
> and lastName.
>
> <Employee>
> <firstName></firstName>
> <lastName></lastName>
> </Employee>
>
> In another scenario i have to marshal the xml file with two attributes
> firstName middleName and lastName.
>
> <Employee>
> <firstName></firstName>
> <middleName></middleName>
> <lastName></lastName>
> </Employee>
>
> It's just example, based on the scenario attribute will increase to more
> than 30. There is no limit for attributes.
>
> With my knowledge, what ever attributes we have in xml file we have to
> define in java bean and we have to describe that attributes in Descriptor
> file.
>
> In my scenario there is no defined attributes, it'll increase and decrease
> based on the requirement.
>
> Could you help me on this ASAP.
>
> Thanks in advance.
>
> Thanks & Regards,
> Sree
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Internet: www.syscon.eu
E-Mail: [EMAIL PROTECTED]
Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email