I am totally new to XPath concept and I have a very basic understanding of XPath. I started using XPath firstly for finding web elements on HTML page.
Now while searching over web (videos and text), I found that all XPath tutorials are related to XML (and not HTML pages).
Wiki says,
XPath (XML Path Language) is a query language for selecting nodes from an XML document.
This has confounded me a lot.
- Is XPath not used for HTML Document?
- Are there any fundamental/structural differences in writing XPath for HTML, XML, XHTML?
Please note that I understand that this question is below par, but only out of utter confuson I am asking it here.