// Collection of code snippets by Arne Vajhøj // (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) using System; using System.Xml; using Sgml; namespace E { public class Program { public static void Main(string[] args) { SgmlReader r = new SgmlReader(); r.Href = "http://speed.travian.dk/ "; XmlDocument doc = new XmlDocument(); doc.Load(r); XmlNode n = doc.SelectSingleNode("/html/body/div[@id='lmidall']/div[@id='lmidlc']/div[@id='lmid1']/div[@id='lmid3']/form/table[@class='p1']/tr/td/table/tr[1]/td/label/text()"); Console.WriteLine(n.Value); } } }