I have a problem with deserialization of my xml files. Let\'s pretend that we have a xml file and a class that we are using for deserialization to.
For example:
To add to Martijn's answer:
You can also collect unknown items in an array which you can access later.
http://msdn.microsoft.com/en-us/library/system.xml.serialization.xmlanyelementattribute.aspx
Public Class XClass
' Apply the XmlAnyElementAttribute to a field returning an array
' of XmlElement objects.
Public AllElements() As XmlElement
End Class 'XClass