There is either insufficient instruction to know how to operate this editor, or that it simply failed possibly due not well-formed document.
I have used Firebug & FirePath on the same document which gave the correct XPath location of the target element below:
/html/body/form/div[2]/div[4]/div[1]/div/div/div[1]/a
Yet, my Selenium Webdriver XPath has thrown the following exception:
Exception in thread "main" org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"xpath","selector":"/html/body/form/div[2]/div[4]/div[1]/div/div/div[1]/a"}
Apologies for referring to another product but hoping to get advice on how to debug this issue using a working XML / XHTML debugger.
Many thanks in advance,
Jack
From: Philip Fearon <pgfearo@googlemail.com>
To: Jack Bush <netbeansfan@yahoo.com.au>; "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
Sent: Wednesday, 28 November 2012 12:24 AM
Subject: Re: [xml-dev] Looking for good xhtml explorer
This may help. There's a new online XPath 2.0 Editor / XML-Explorer called PathEnq that I've recently developed.
PathEnq can handle XML/XHTML or well-formed HTML files (i.e. it can cope with the HTML5 prologue).
The tool is at:
The open source code for this is at:
PathEnq exploits a Saxon-CE XSLT 2.0 processor running in the browser.
Phil Fearon
Qutoric Limited