XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Looking for good xhtml explorer

Thanks Philip for your suggestion on trying out your online XPath 2.0 Editor, which I have tried openning up http://www.domain.com.au/Property/For-Sale/House/NSW/Auburn/?adid=2010111460 (XHTML) file without success. Should this file ends in xhtml or just htm?
 
 
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:

http://www.qutoric.com/xslt/analyser/xpathtool.html

The open source code for this is at:

https://github.com/pgfearo/pathenq

PathEnq exploits a Saxon-CE XSLT 2.0 processor running in the browser.

Phil Fearon
Qutoric Limited


On Tue, Nov 27, 2012 at 1:02 PM, Jack Bush <netbeansfan@yahoo.com.au> wrote:
Dear XML Specialists,
 
I need to debug some xhtml document but could not find a decent working free xhtml explorer around. The xmlassert-full.jar downloaded from http://sourceforge.net/projects/xpe/files%2Fxmlassert/
could not be run with the following error:
 
JAVA_HOME=C:\Program Files\Java\jdk1.7.0_03
OS=Windows_NT
Path=C:\Program Files\Java\jdk1.7.0_03\bin;...
 
C:\>java -jar xmlassert-full.jar
no main manifest attribute, in xmlassert-full.jar
 
On the other hand, xpathexplorer0.1.3.zip from http://www.antepedia.com/detail/p/282834.html consisted of source code and require further instruction to compile it properly.
 
These XHTML files have been saved from Firefox as HTML files instead.
 
I am running Java 7.x, Netbeans 7.2 on Windows XP / 7 platforms.
 
Your assistance woudl be much appreciated.
Thanks in advance,
Jack





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS