Get avaliable XPaths and its element names using HtmlAgilityPack
问题 I'm using a function to get all the avaliable XPath expression from an HTML, using HtmlAgilityPack library. The problem is that I get expressions with this format: /html[1]/body[1]/div[1]/div[1]/div[1]/div[1]/h4[1]/a[1] I would improve it to get also the names of the nodes/elements, like this: /html/body/div[@class='infolinks']/div[@class='music']/div[@class='item']/div[@class='release']/h4[1]/a[@title] But I don't know how to properly get their names with HtmlAgilityPack . How I could do it?