Add Code Samples showing how to create RSS feed from compiled classes


Aug 20 at 4:36 AM
Hi there,
I compiled the Rss 2.0 schema, and I got the classes from it (Java code). Everything fine, and my question is about how to populate the TRss element ?
my goal:
<rss version="2.0">
my last trial:
        Rss rssFeed = new Rss();
        rssFeed.getOtherAttributes().put(new QName("", "version"), "2.0");
        TRssChannel channel = new TRssChannel();
        channel.getTitleOrLinkOrDescription().put(new QName("http://www.thearchitect.co.uk/schemas/rss-2_0", "title"), "Cars @ Cejug Classifieds");
a code sample in any language would be cool :)
Closed Sep 9, 2008 at 5:58 AM by jthelin


wrote Sep 9, 2008 at 5:58 AM

Resolved with changeset 22688.

jthelin wrote Sep 9, 2008 at 6:21 AM

Release rss2schema- includes C# code samples showing how to construct an example RSS 2.0 feed file using data classed generated by the .NET xsd.exe tool.

wrote Feb 14, 2013 at 2:04 AM

wrote May 16, 2013 at 7:30 AM