Quantcast
Channel: LINQ to XML
Viewing all articles
Browse latest Browse all 4

LINQ to XML

$
0
0
Hi Jeff,

If the XML has a static structure, I think I would go for (de)serialization of objects. This way you have objects that represent the data you use (which are easy to use in code and bind controls against) and you won't need to write custom code to transform the object to XML, or XML to an object. You can use the default XmlSerializer class for this.

If the structure of your XML is dynamic, the above is not a practical solution. In that case LINQ to XML might be able to help. Have a look over here for information on how to do this.

Hope this helps.

Viewing all articles
Browse latest Browse all 4


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>