没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > Fizzler |
|
Fizzler
|
| 1 | 0 | 190 |
| 贡献者 | 讨论 | 代码提交 |
Based on the HTML Agility Pack parser, this engine will select elements from an HTML page based on a CSS selector. There are 70 unit tests - see below for more information. The tests are based on the jQuery selector engine tests. At this time, the library is ALPHA quality, as I would like to improved the tests by improving the test data.
Contributions for refactoring, improved tests, and increased selector support would be welcome.
Introductory blog post: http://colinramsay.co.uk/diary/2008/10/19/fizzler-a-css-selector-engine-for-c-sharp/
ExamplesWe have this HTML in a string variable called html:
Fizzler
CSS Selector Engine
var engine = new Fizzler.Parser.SelectorEngine(html);
engine.Parse(".content"); // returns [Fizzler
]
engine.Parse("p"); // ret
标签:
