K
K
kpkkk4232020-03-24 18:34:22
XPath
kpkkk423, 2020-03-24 18:34:22

How to parse xpath text?

How to get a nickname? (Igroman) via Xpath

<div class="block_zero"><span class="white">1</span>. <img src="/images/icon/race/0.png" alt=""> <a href="/user/10550515/">Igroman</a><br>Мощь титана: <img src="/images/icon/2hit.png" alt=""> <b>117304</b></div>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2020-03-24
@kpkkk423

//div[@class="block_zero"]/a/text()

A
Alexander, 2020-05-04
@mrmalinin

//a

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question