Thursday 17 December 2015

Explain the difference between single and double slash in X-path?

Single slash ‘/ ’
 Single slash ( / ) start selection from the document node
It allows you to create ‘absolute’ path expressions
 Double Slash ‘// ’
 Double slash ( // ) start selection matching anywhere in the document
 It enables to create ‘relative’ path expressions

No comments:

Post a Comment