Original Post
Say I've got some XML that looks something like this: and is pretty rigid, so something and somethingelse could be just classes. But obviously blah is an array of either something's and somethingelse's, both of which can occur any number of times in any order. Is there any way to deserialize this XML into an array of classes? Also, is there a way to somehow add comments to the XML generated when you serialize an object?
<blah>
<something><!-- stuff here --></something>
<somethingelse><!-- more stuff --></somethingelse>
<something><!-- stuff again --></something>
</blah> The stuff inside