pouzivam http://simplehtmldom.sourceforge.net/ len ked mi pride vacsia stranka s vacsim poctom elementov tak pri spracovani mi dojde ram, preto hladam lepsi spravnejsi sposob
public static class XmlDocumentUtils{ public static void LoadHtml(this XmlDocument document, string html) { var sgmlReader = new Sgml.SgmlReader() { DocType = "HTML", WhitespaceHandling = WhitespaceHandling.All, CaseFolding = Sgml.CaseFolding.ToLower, InputStream = new StringReader(html) }; document.PreserveWhitespace = true; document.XmlResolver = null; document.Load(sgmlReader); }}