I want to know what Xpath is (in brief), which browsers support it and how to use it. I tried using document.evaluate() but it returns a DOM error. Are there specific doc types which can use it. A little get me started info would be nice.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Xpath is a query syntax for XML-like documents. If you are familiar with SQL, it performs a similar function.
As for browser support, I don’t know of a way to test. Google Chrome’s web inspector lets you test Xpath expressions using $x().