Yepp、Fizzler。それはHtmlAgilityPackに基づいており、作者がベータだと言っても、うまく動作します。私たちは、主要なプロジェクトのプロダクションでそれを使用します。ドキュメントのサンプル:
// Load the document using HTMLAgilityPack as normal
var html = new HtmlDocument();
html.LoadHtml(@"
<html>
<head></head>
<body>
<div>
<p class='content'>Fizzler</p>
<p>CSS Selector Engine</p></div>
</body>
</html>");
// Fizzler for HtmlAgilityPack is implemented as the
// QuerySelectorAll extension method on HtmlNode
var document = htmlDocument.DocumentNode;
// yields: [<p class="content">Fizzler</p>]
document.QuerySelectorAll(".content");
// yields: [<p class="content">Fizzler</p>,<p>CSS Selector Engine</p>]
document.QuerySelectorAll("p");
// yields empty sequence
document.QuerySelectorAll("body>p");
// yields [<p class="content">Fizzler</p>,<p>CSS Selector Engine</p>]
document.QuerySelectorAll("body p");
// yields [<p class="content">Fizzler</p>]
document.QuerySelectorAll("p:first-child");
[CsQuery](http://github.com/jamietre/CsQuery)は非常に有望であるようです。私はまだそれを使用していない、ちょうどそれについて読む - この質問を閲覧した後。閉じてはいけません。 – robert4