This project has moved and is read-only. For the latest updates, please go here.

XmlAttributeAttribute by value ?

Jan 25, 2010 at 12:23 AM


I have this piece of code from the RSSToolkit modified by me:

        [XmlAttributeAttribute(AttributeName = "rel")]
        public string Link
                return _link;

                _link = value;

However the XML (rss feed to be more precise) has more than 1 link element, and each of this elements has the rel attribute. What I want is basically get the element with the rel attribute set to a specific value. 

Thanks for your time