I have an Html String which I need to parse, but WITHOUT using HTMLAgilityPack.
Using XPath is quite simple, but how do I get it working using XPath?
I'm not sure I understood your objection to HTML Agility Pack. I've just written a lightweight HTML parse and posted it on Github as HTML Monkey.
The initial version does not support XPath, but I'm still working on the project and looking for feedback and suggestions.
XPathdirectly because Html is NOT Xml. Html allows tag without closing but Xml do not.System.Windows.Forms.WebBrowserwhich acts like a simple web browser (stackoverflow.com/a/56629). On ASP .NET, you need Regex class and creating HTML parser manually, since XPath usage usually combined withHtmlAgilityPack.