This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Java-based XPath tool


Try the same with the XPath Visualiser:

> //operation matched both <operation> and <soap:operation> tags, when it should
> only have matched the first.

//operation will not match anything because of the default namespace definition --
this is exactly the same result that you'll get if you use the same XPath expression
from a stylesheet.

When an additional (non-nul) prefix is associated with the same namespace-uri, let's
say xmlns:z="http://schemas.xmlsoap.org/wsdl/"; 

then //z:operation returns 2 matches -- exactly as it should

> //soap:operation generates an error to the effect that soap: is not a valid
> namespace, even though it is correctly defined.

This is processed fine by the XPath Visualiser -- one node is highlighted.


The Xpath visualiser offers also a number of other features:

   collapsible/expandable non-leaf element nodes

   caching of used XPath expressions on a per file basis.

   User-defined xsl:variable-s cached per file

   User-defined xsl:key-s cached per file

   Distinctive hi-lighting of default/implied attribute values as inherited from a
DTD (in the newest version 1.4)

I welcome the arrival of a Java-based product in the XPath Visualiser category -- it
certainly fills a gap -- the non-MS/IE platforms were not covered by the XPath
Visualiser.

Cheers,
Dimitre Novatchev.

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]