XML Data Binding with Castor
Subject:   good, clear explanations
Date:   2004-04-05 09:26:12
From:   lyl000
Response to: good, clear explanations

I think this method is very well.I have a problem:
your method can get data from xml,but if I get xml data from database ,then put it into a string,How I can trans it into javaBean?
String aa="<person>
<name>Michael Owen</name>
<address>222 Bazza Lane, Liverpool, MN</address>
",I can't use :Person person = (Person)
new FileReader("person.xml"));
I can get the framework use: mapping.loadMapping("mapping.xml");
can I put my String into the bean but put into an xml first.
thank you