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
Physics,
2 months ago
Math,
2 months ago
Computer Science,
2 months ago
Math,
4 months ago
Science,
4 months ago
Social Sciences,
11 months ago
History,
11 months ago