↧
Answer by Michael Stum for Adding Namespaces to a SyndicationFeed rather than...
Found the answer in this question and adapted it: feed.AttributeExtensions.Add( new XmlQualifiedName("my",XNamespace.Xmlns.ToString()), MyFeedExtensions.Namespace.ToString()); Basically: Register a...
View ArticleAdding Namespaces to a SyndicationFeed rather than Individual Elements?
I have a class like this: public static class MyFeedExtensions { private readonly static XNamespace _namespace = XNamespace.Get(@"http://mynamespace"); public static XElement MyElement(string value) {...
View Article