Read XML from URL
using System;
using System.IO;
using System.Xml;
class MainClass
{
static void Main(string[] args)
{
string localURL = "http:\\www.yoursite.com\\Test.xml";
XmlTextReader myXmlURLreader = null;
myXmlURLreader = new XmlTextReader (localURL);
while (myXmlURLreader.Read())
{
//TODO -
}
if (myXmlURLreader != null)
myXmlURLreader.Close();
}
}
|
HTML code for linking to this page:
Related in same category :
-
-
-
|