1

Is there a tool in vb.net / for vb.net like nokogiri (a ruby gem) that allows one to parse HTML files using the awesomeness of css queries (e.g #htmlid) for <p id="htmlid">...</p> so that I can parse html content easily?

1 Answer 1

3

CsQuery may be what you are looking for.

CsQuery - .C# jQuery Port for .NET 4

CsQuery is a jQuery port for .NET 4. It implements all CSS2 & CSS3 selectors, all the DOM manipulation methods of jQuery, and some of the utility methods. The majority of the jQuery test suite (as of 1.6.2) has been ported to C#.

If you are comfortable with LINQ and/or XPath I would also recommend the awesome HTML Agility Pack.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.