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
--
View this message in context:
http://www.nabble.com/Attributes%28Children%29-will-increase-based-on-the-requirement-tp16677399p16677400.html
Sent from the Castor - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email