开发者

RSS 2.0 using WCF: Adding custom namespace to the rss tag

开发者 https://www.devze.com 2023-01-13 20:04 出处:网络
We have a custom namespace we have for custom elements: <rss xmlns:blah=\"http://example.com/\">

We have a custom namespace we have for custom elements:

<rss xmlns:blah="http://example.com/">

I'm trying to add this namespace to the rss tag using WCF. Adding an 开发者_JAVA技巧AttributeExtension to the feed puts it in the <channel> element, not the <rss> element.

Beyond string manipulation, how would I go about syndicating RSS 2.0 using WCF with this additional namespace?


It seems to be that the best that can be done is the element.

0

精彩评论

暂无评论...
验证码 换一张
取 消