Reading XML for iTunes RSS feed

Abstract123

New Member
Hey all i am reading my XML RSS feed like so:\[code\]Dim rssSubNode As XmlNode = rssNode.SelectSingleNode("title")Dim title As String = If(rssSubNode IsNot Nothing, rssSubNode.InnerText, "")rssSubNode = rssNode.SelectSingleNode("itunes:author")Dim author As String = If(rssSubNode IsNot Nothing, rssSubNode.InnerText, "")\[/code\]The title is retrieved just fine. However, when it try's to get the author it has an error of:\[code\]Value of type 'System.Xml.XmlNodeList' cannot be converted to 'System.Xml.XmlNode'.\[/code\]My XML file looks like this:\[code\]<?xml version="1.0" encoding="UTF-8"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"> <channel> <item> <title>First Chaper</title> <itunes:author>My Name Here</itunes:author> <itunes:subtitle>First Chapter: The blah blah.</itunes:subtitle> etc etc....\[/code\]What do i need to add in order to grab that value?
 
Back
Top