[Simple-support] Parsing issues (list)
Brought to you by:
niallg
|
From: Gareth M. <gar...@gm...> - 2012-03-15 03:41:20
|
Hi guys im trying to parse this XML: http://ww3.badminton-horse.co.uk/podcast/podcast.xml But im having no luck at all, the usual failed to satisfy error. Ive been trying for a whole day so Im ultra confused now, currently I have @Element(name="channel")// public class PodCastResults { @ElementList(inline=true) //(inline=true) private static List<item> list; } and @Element(name="item")//@Root public class item { @Element(required=false) public String title; } All im trying to do is parse the <item> objects and have them in a list, ive done this with tons of different xml but for some reason this one is defeating me. Any ideas? "list" is what it has a problem with!... Cheers, Gaz. |