This project has moved. For the latest updates, please go here.

how to create rss feed with prefixed namespace

Topics: Developer Forum, User Forum
Feb 27, 2008 at 10:50 AM
hello, i'm a newbie of this toolkit.

I want to create rss which has custom namespace like this:
<rss xmlns:custom="http://foo.com">
...

I found that I could append a namespace by adding a namespace attr at XmlRootAttribute In myCutomRssDoc class which inherits RssDocumentBase.
But i cannot append prefixed one.

How can I append it?
I have to hack ToRssXml method in RssXmlHelper class??

Best regards,
ioue
Mar 10, 2008 at 1:29 AM
See my other post: http://www.codeplex.com/ASPNETRSSToolkit/Thread/View.aspx?ThreadId=12047&ANCHOR#Post79270
Mar 21, 2008 at 5:57 AM
Thank you akayau!

I could define custom namespaces!!