EDN Admin
Well-known member
Hi,
I already have a set of business objects classes.
I also have one method exposed which takes XElement as input parameter. This XElement param is loaded with xml containing serialized object from another system.
Now, I want to convert this xml to already existant business objects. Problem is I cant modify existing BO classes to include xml tags in them. Also they have some properties of type IList in them, which I guess doesnt work with XmlDeserializer.
Please suggest on how to convert/parse xml to objects using XElement as input in such situation.
Many Thanks.
View the full article
I already have a set of business objects classes.
I also have one method exposed which takes XElement as input parameter. This XElement param is loaded with xml containing serialized object from another system.
Now, I want to convert this xml to already existant business objects. Problem is I cant modify existing BO classes to include xml tags in them. Also they have some properties of type IList in them, which I guess doesnt work with XmlDeserializer.
Please suggest on how to convert/parse xml to objects using XElement as input in such situation.
Many Thanks.
View the full article