1

Topic: AngleSharp. QuerySelectorAll. How correctly to make the selector.

I see that the subject of parsing HTML is periodically considered. Here and at me the question was formed. There was their task . I try to use AngleSharp. Like all anything, but is still not clear how to build the selector for QuerySelectorAll. I while manage to do only the elementary cases. I use a Visual Studio 2010. Source codes AngleSharp in it do not open, the project demands studio . And to pick source codes the text editor - still that pleasure. I on the sly do it, but all the same, much falls out.  conducts on the same articles, links on which not  appeared here again. Who Perhaps prompts? It read. It too. And here it. And StackOverflow. And still something. Probably, I something simply do not see. With HTML I am familiar too superficially.

2

Re: AngleSharp. QuerySelectorAll. How correctly to make the selector.

In what a question? QuerySelectorAll works on CSS-selectors. document. QuerySelector ("em")//to select all elements em (a tag <em> the Text </em>) document. QuerySelectorAll ("em.blue")//to select all elements em (<em class = "blue"> </em>) which have a class blue document. QuerySelectorAll ("#someId")//to select an element () with the identifier #someId (<div id = "someId">) document. QuerySelectorAll ("input")//to select all  (<input type = "text"/>, <input type = "radio"/>, etc) I.e. to you not  it is necessary to look, and about CSS to esteem.

3

Re: AngleSharp. QuerySelectorAll. How correctly to make the selector.

Normal CCS selectors. For example https://infostart.ru/public/466196/http … -selectors http://htmlbook.ru/css/nth-child https://learn.javascript.ru/css-selectors https://habrahabr.ru/post/51717/http:// … elementov/