Made this months ago because I needed an html parser that worked like DOM. I know it is messy, I was trying to get it to work with sites that have sloppy html (google.com for example).
I might add more functionality later. Really it has been enough for everything I have done so I might not.
http://www.mediafire.com/?1gjzjh1gvlz
Example usage
csharp Code:
HtmlParser hp = new HtmlParser(); hp.LoadHtml(data); foreach (HtmlParser.Element e in hp.Elements) { if (e.getAttribute("id") == "someid") return e; }
If you have any questions, let me know.
If you use this, credit would be nice :D.
