Hello, 

Using Castor I want the Simple XML parsing.

I have a xml like as below and it can be any xml coming as a source xml for
input component to process.

Address.xml
<root>
  <name>Michael Owen</name>
  <address>222 Bazza Lane, Liverpool, MN</address>
  <ssn>111-222-3333</ssn>
  <email>[EMAIL PROTECTED]</email>
  <home-phone>720.111.2222</home-phone>
  <work-phone>111.222.3333</work-phone>
</root>

Another input example xml cab be like 
Funds.xml
<root>
  <fundname>Fund test</fundname>
  <fundlongName>222 Testing Fund </fundlongName>
</root>

Irrespective of the number of nodes and there name I want to extract the
data from nodes. 
I want to Unmarshall the XML and keep the node names and the data in the
Collection Object without using any Value Object as the place Holders.

Please suggest how is it possible to do using Castor ? 

Best Regards,
Amber Gupta
E-mail   : [EMAIL PROTECTED]


Reply via email to