Q:

I keep get null when deserializing xml to object

i have the xml like this
<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
  <products>
    <product>...</product>
    <product>...</product>
  </products>
</prestashop>

and i want to deserialize into object which is List<Product>
but i keep trying it is not working at all
this is my Restsharp code
    var client = new RestClient(baseUrl);
    client.Authenticator = new HttpBasicAuthenticator(apiKey, null);
    client.AddHandler("application/xml", new XmlAttributeDeserializer());
    var request = new RestRequest("products", Method.GET);
    request.AddParameter("display", "full"); 
    request.AddParameter("limit", "2");

    IRestResponse<ListProduct> response = client.Execute<ListProduct>(request);
    var data = response.Data;

Am i doing right?
Thanks fo any help

A:

I'm solved this by checking the fields of the class product
And the problem is one of the fields type is wrong 
Thus changed to string solved my problems

