My question is very much like this one. However, I need to allow two different namespaces on the same root.
Something like:
[XmlType(Namespace = "")]
[XmlRoot("included_parameters", Namespace = "http://apif.freescale.net/schemas/paramdef/1.0")]
[XmlRoot("included_parameters", Namespace = "http://apif.freescale.net/schemas/paramdef/1.1")]
public class IncludedParameters
{
}
So basically, I want to deserialize an xml file for version 1.0 of the schema ot 1.1 of the schema into the same .net class.
Please let me know if you need more details.
Chris