XML Tutorial Answer2-6

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.

CLICK HERE FOR BACK