我想阅读 rss / channel / itunes:subtitle
中的值xml:见http://podcast.q-dance.nl/audio/qdance/q-dancepodcast.xml
我试过了:
System.Xml.XmlDocument pd = new System.Xml.XmlDocument();
pd.Load(podcasterUrl);
XmlElement resultt = pd.DocumentElement;
XmlNamespaceManager mgr = new XmlNamespaceManager(pd.NameTable);
mgr.AddNamespace("itunes", "http://www.itunes.com/dtds/podcast-1.0.dtd");
XmlNode nodeS = resultt.SelectSingleNode("/rss/channel/itunes:subtitle", mgr);
string subtitle = nodeS.InnerText.ToString();
副标题现在是:
This is the official ...
但是在XML中它是
Representing the ...
有人可以帮助我吗?