Serializing Survey Response XML to Data Object


You can use MentorLogic.Engines.Zodiac.Repository.XmlSurveyResponseRepository to serialize or deserialize the XML definition of the survey responses.

You can also serialize the survey response objects to XML as below:

string xml = XmlSurveyResponseRepository.SerializeResponse(surveyResponseObj)

You can deserialize the survey response XML definition to data object as below:

SurveyResponse surveyResponseObj = XmlSurveyResponseRepository.DeserializeResponse(xml);

See Also