R
R
Roman Romanov2016-02-24 19:05:29
XPath
Roman Romanov, 2016-02-24 19:05:29

How to make an xpath query?

There is such a basis for xpath : //tr[count(td) = 3] - returns 4 nodes, inside of which there are 2 trs, how can I pull up the second tr, starting from the first xpath request?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2016-02-24
@glebovgin

If I understand the question correctly, then in order to make an xpath query inside a node, the node must be passed as the second parameter to the query() method .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question