xml in textbox.text
Hello!
I build one app that recieve in a textbox.text a xmloutput from another program via socket. Now, how can I read each node and extract it from that textbox? The xmltextreader only load a xml file.. its impossible to create a xml file in that directory (execu and read permissions only).
Best regards!
Kirtan PatelPosted Oct 22, 2009, 7:55 AM
Here is nice Artcle about Reading XML Node by Node its actually reading RSS so you will get better idea about it :)
http://www.geekpedia.com/tutorial147_Creating-an-RSS-feed-reader-in-Csharp.html
please check "Do you like this answer" if it helps you :)
naura paxPosted Oct 22, 2009, 7:05 AM
String xmlString=txt.Text;
XmlTextReader reader = new XmlTextReader(new System.IO.StringReader(xmlString));
naura paxPosted Oct 22, 2009, 7:02 AM
http://www.velocityreviews.com/forums/t296139-read-xml-from-string-instead-of-file-c.html