Answer the question
In order to leave comments, you need to log in
XPath: current context and recursive descent, what does it mean?
Hello!
What do these two parameters mean:
. - current context
.// - recursive descent (zero or more levels from the current context)
Please provide some simple examples.
Answer the question
In order to leave comments, you need to log in
the current context is the node to which the request is being applied.
Let's say we have a document:
<root>
<el1>1</el1>
<el2>
<el1>2</el1>
</el2>
</root>
<el1>1</el1>
because it only searches one level. <el1>1</el1>
and <el1>2</el1>
because it searches at all levels of nesting.
It was 2017...
Where did you find such a site design at all?)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question