6. Which of the following XPath expression ensures that
selection starts from the root node?
A.
.
B.
/
C.
./
D.
.//
Answer
|
Explanation
|
Ans. ‘B’
|
/ ensures that selection starts from the root node.
|