XmlSerializer and open content models
Using the built-in code generation features (let’s say xsd.exe or the approach I’ve outlined), the generated classes use the System.Xml.Serialization.XmlAnyElementAttribute and System.Xml.Serialization.XmlAnyAttributeAttribute to capture the foreign elements and attributes in an instance document. Unfortunately, this is not enough.
[Read More]