I have object has XML as a string. For example I have a domain which has
class person{
String personId
String personName
String personType
String personDescription
String personDetailsXML
}
I am getting the details and binding to person object. I have to pass this object to another controller which displays the info about each person when he clicks on the profile name. How do i parse the XML string.
I have another domain say eachPerson domian which has
class eachPerson{
String personName
String personDescription
Object personDetails
I want to match the person name and person description and persondetailsXml.How do I do that and how can I parse personDetailsXML to personDetails object. Please suggest. How i can pass the personInstance as object to action show() in eachPerson controller??