U
U
Uncle Bogdan2021-05-30 16:15:40
Parsing
Uncle Bogdan, 2021-05-30 16:15:40

How to get text from element i?

There is this html:
60b38f0e40fff357761023.png
How to get the text inside using HtmlAgilityPack?
It doesn't seem to work like this:

node = doc.DocumentNode.SelectNodes("//*[@id='b - container']/div[1]/dl/dt/span/i");
            Cause.Text = "Причина:\n" + node[0].InnerText;

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question