Header Ads Widget

Responsive Advertisement

Ticker

6/recent/ticker-posts

What is the difference between single and double slash in Xpath


 /
  1.  start selection from the document node
  2. allows you to create 'absolute' path expressions
  3. e.g. “/html/body/p” matches all the paragraph elements
 //

  1.  start selection matching anywhere in the document 
  2. allows you to create 'relative' path expressions
  3. e.g. “//p” matches all the paragraph elements

Post a Comment

0 Comments