Question: what is the difference between / and // in xpath?
Answer: Difference between / and // (Search Directives in XML) XPath expressions is like absolute path from the root element. /empinfo When /empinfo is a absolute path from the root element. ... You can use XPath search directives in middle of an XPath address to represent ancestor descendant relationships.