Multiple XPath result tabs for documents with the same name

Are you missing a feature? Request it's implementation here.
daliboris
Posts: 18

Multiple XPath result tabs for documents with the same name

Wed Jun 06, 2018 11:20 am

I've opened multiple documents with the same name (placed in distinct directories on the disk). When I run XPath angainst current file, new tab with results appears, tab ha name "XPath – file.xml". When I execute XPath over another file with the same name, results are replaced. When I run XPath against another file with different name, results appears on new tab.

It's possible to show results form distinct files, but with the same name, in distinct tabs?
adrian
Posts: 2453

Re: Multiple XPath result tabs for documents with the same name

Wed Jun 06, 2018 6:10 pm

Hi,

Unfortunately it's not possible if they have the same file name.
The name of the XPath result tab is derived from the file name, so if you have two or more with the same name, the same results tab gets updated (previous one is cleared/replaced).
If you apply a different XPath on each file, it can help if you enable Options > Preferences, XML / XSLT-FO-XQuery / XPath, Multiple XPath results. This option adds the XPath expression to the name of the XPath results tab.

Perhaps you could use the XPath scope to apply the same XPath on multiple files at the same time. In that case the results for all the files are presented in the same tab, but they can be grouped.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Return to “Feature Request”

Who is online

Users browsing this forum: No registered users and 2 guests