Re: [Simple-support] Parsing issues (list)
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2012-03-15 03:52:26
|
What error do you get when you try to parse it? --- On Wed, 14/3/12, Gareth Murfin <gar...@gm...> wrote: From: Gareth Murfin <gar...@gm...> Subject: [Simple-support] Parsing issues (list) To: sim...@li... Received: Wednesday, 14 March, 2012, 8:41 PM 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")//@Rootpublic 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. -----Inline Attachment Follows----- ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure -----Inline Attachment Follows----- _______________________________________________ Simple-support mailing list Sim...@li... https://lists.sourceforge.net/lists/listinfo/simple-support |