Subject:Xpath Query Editor Author:Kurt Wald Date:20 Jun 2006 11:03 AM
in Stylus Studio 2006 Rel 3 Enterprise the Xpath Query Editor seems to have replaced the Xpath expression execution Box in the XML editor window.
With this box it was possible to run an xpath expression relative to the element selected in the xml tree. Addidionally it was possible to select xpath version 1.0/2.0 for the query.
This doesn't work with the Xpath Query Editor. Are there any hidden options to get the old behaviour (it is still described in the help system) with release 3 or is it possible to get it with te Xpath query Editor?
Subject:Xpath Query Editor Author:Minollo I. Date:20 Jun 2006 11:49 AM
About support of XPath 1.0, that has been discontinued; as XPath 2.0 is able to evaluate XPath 1.0 (with very few differences in the results of some corner cases), we have decided that switching to XPath 2.0 would have kept things simple while guaranteeing flexibility.
About context against which the query is run, we are revising the mechanism to work smoothly across editors (text, tree and grid), and this will become available in a future maintenance update in the next few weeks. Older Stylus Studio releases allowed use of context only when working with tree or grid editors.
Stylus is a development environment.
Lots of development out there is for XSLT 1 and might still be for a long time I guess.
I think it is kind of handy to be able to test XPath statements that work for use in an XSLT1, without thinking about bulletproofing it for XPath2 necessarily.