jefersonsv / FluentXPath

Build query XPath with fluent style code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NuGet MIT Licence

Fluent XPath

Build query XPath with fluent style code

Usage

string xpath = new XPathBuilder()
	.AllDescedentElements()
	.Elements("div").WhereAttributeEquals("class", "line")
	.Elements("a")
	.Or()
	.AllDescedentElements()
	.Elements("div").WhereAttributeEquals("class", "line odd")
	.Elements("a")
	.Or()
	.AllDescedentElements()
	.Elements("blockquote")
	.Elements("font")
	.Elements("a");

Thanks to

About

Build query XPath with fluent style code

License:Other


Languages

Language:C# 94.2%Language:Batchfile 5.8%