przemasisko
New Member
my serialization/deserialization just works fine but i want to change the xml-File a littel bit to make it more human readable.What i have now is:\[code\]<Options> <Option> <Key>Backup</Key> <RegEx>.exe%</RegEx> </Option></Options>\[/code\]I want to write it like:\[code\]<Options> <Option key="Backup" regex=".exe%" /></Options>[Serializable]public class Option{ //[XmlElement("key")] public EOptions Key; //[XmlElement("regex")] public string RegEx; public override string ToString() { return Key.ToString(); }}...public List<Option> Options;\[/code\]I google it since a hour and try a lot, but nothing works.