2Let's say I have this array:
<something>
<items1 note="some text">
<item1></item1>
<item1></item1>
<item1></item1>
</items1>
<items2>
<item2></item2>
<item2></item2>
<item2></item2>
</items2>
</something>
And I have a model:
public class Something
{
public string Item1Note { get; set; }
public List<Item1> Items1 { get; set; }
public List<Item2> Items2 { get; set; }
}
So, Is it possible to deserialize XML into the model so that the attribute note of Items1 node was in property Item1Note. Thx in advance.
EDIT: I understand that note is property of Items1, but I don't have such class.