Hi all,
I am having application where i am downloading xml content using
webrequest. my code is as below
HttpWebRequest lWebRequest = (HttpWebRequest) WebRequest.Create(URL);
HttpWebResponse lWebResponse = (HttpWebResponse)
lWebRequest.GetResponse();
StreamReader lResponseStream = new
StreamReader(lWebResponse.GetResponseStream(),enc) ;
Data = lResponseStream.ReadToEnd();
lWebRequest = null;
lWebResponse.Close();
IResponseStream.Close();
Here i am getting rss feeds using webrequest. Then i am loding rss
that is data using xmldocument.load.
when i am trying to change node of rss using replacechild method i am
getting error mention in subject line.
I am not getting why it is happening as i am not doing any operation
with httpwebrequest.
Can anyone shed some light on it.
Please do help me.
thanks in advance.