Hi ranchers,
First of all my apologies for not pasting the post on the proper forum.
I have problem in creating the proper xml file from
java bean using castor; please help me.
Pasting the code, the mapping.xml for your reference.
The expected output should be <?xml version="1.0"?>
<flight carrier="AR" depart="6:23a" arrive="8:42a" number="426"/>
The o/p i am getting is <?xml version="1.0"?>
<flight-bean number="426">
<arrival-time>8:42a</arrival-time>
<departure-time>6:23a</departure-time>
<carrier>AR</carrier>
</flight-bean>
Thanks in advance
neha
[ June 27, 2007: Message edited by: Neha Mohit ]