What is the difference between "/" and "/" in Xpath?
"/" is used to create XPath with an absolute path and"//" is
used to create XPath with a relative path
"/" is used to create XPath with a relative path and “//" is used
to create XPath with an absolute path
Answers
Answered by
0
Answer:
Difference between “/” and “//” in XPath
Single slash is used to create absolute XPath whereas Double slash is used to create relative XPath. 2. Single slash selects an element from the root node. For example, /html will select the root HTML element.29-Jul-2020
Similar questions