I am wondering if there is a way to use the XmlSerializer to deserialize objects with different casing.
Lets say my object is
Class A
{
public String Str{get;set;}
}
I have the following XML files, id like to deserialize:
<root><StR>Hello</StR></root>
<root><STR>Hello</STR></root>
<root><str>Hello</str></root>
Any Suggestions/Ideas? Also approachs manipulating the DOM, etc are welcome 🙂
Regards
or simply preform XSLT transformation before you desirlize