[Simple-support] Deserializing specific (lists of) children without having to map an entire XML tre
Brought to you by:
niallg
|
From: H. B. <he...@zx...> - 2011-01-19 13:51:31
|
I hope I can explain this in an understandable manner... I've been reading the docs for a while, but one thing keeps me puzzled: is it possible to deserialize a list of things in an xml without deserializing the entire structure? An example is http://en.wikipedia.org/w/api.php?action=opensearch&search=john&format=xml&limit=10 : I only care about the Item objects, and I'd like a List<Item>, is there any way I can get that without having to make class templates for SearchSuggestion and Section or do I always have to wrap the entire hierarchy? Thanks. |