I am trying to deserialize this code\[code\] <request> <employee id="40407">Test User</employee> </request>\[/code\]I've created a class:\[code\]public class Request{ public string employee { get; set; } [XmlAttribute("employee/id")] public string employeeId { get; set; }}\[/code\]Without attribute everything works, but I need the data from attribute "\[code\]id\[/code\]" as well. Once I put \[code\][XmlAttribute("employee/id")]\[/code\] it doesn't want to work. What I am doing wrong?