For example, there is a long sentence in Cell A1, see the following screenshot. And now you need to find the 3rd occurrence or position of Character c from the text string in Cell A1. Of course, you can count the characters one by one, and get the exact position result.
XPath, the XML Path Language, is a query language for selecting nodes from an XML document.
XPath is normally called as XML Path. We use XPath to navigate through elements, and attributes in the XML document. As per W3C's, the XPath is a major element in XSLT standard-and XQuery and XPointer are both built on XPath expressions.ne can install firebug, and on the top of firebug, one can install firpath. Both are installed as addons on Firefox. When one extracts the xpath of the object, one can use that object using Selenium IDE, Selenium RC, or Selenium Web-driver.