views:

28

answers:

0

Hi I have a xml that look like: . .

I post the code:

public interface ImmoListItem { LISTRow[] items { get; set; } }

public partial class XMLImmo : ImmoListItem { private LIST LISTdata; public XMLImmo(string query) { StringReader reader = new StringReader(query); XmlSerializer serializer = new XmlSerializer(typeof(LIST)); LISTdata = (LIST)serializer.Deserialize(reader); }

    public LISTRow[] items
    {
        get { return this.items; }
         set {}
    }
}

the problem is that like result of LISTdata I have only the first "row" with the id, typ etc etc.....but not the other row

plz help