Exclude specific tag with Diff Directories

Having trouble installing Oxygen? Got a bug to report? Post it all here.
peterhadermann
Posts: 1
Joined: Mon Apr 18, 2016 11:32 am

Exclude specific tag with Diff Directories

Post by peterhadermann »

Dear all,

We like to use the "Diff Directories" application to compare XML files.

We like to always ignore the XML tag: <topic id="xxx" xml:lang="en">
This tag is always different.

Is there a solution to exclude this tag with the "Diff Directories" application ?
We can do a search/replace for all xml files but this is a rather complex solution if we must do it every time.

Example: http://www.blonde.eu/public/topic_exclude.png
Settings: http://www.blonde.eu/public/diff_settings.png

Thanks for your suggestions.
tavy
Posts: 364
Joined: Thu Jul 01, 2004 12:29 pm

Re: Exclude specific tag with Diff Directories

Post by tavy »

Hello,

In oXygen XML Editor 18.0 (that will be released probably at the end of this moth) we added support to ignore nodes by XPath but only for the file comparison ("Diff Files"). We have an issue on our issue tracker to implement this also for "Diff Directories". But this is scheduled for a future oXygen version.

Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
tavy
Posts: 364
Joined: Thu Jul 01, 2004 12:29 pm

Re: Exclude specific tag with Diff Directories

Post by tavy »

Hello,

In oXygen XML Editor 18 we added support in Diff Files tool to ignore nodes using an XPath expression.
An XPath panel was added on the toolbar of the File Comparison tool and in the Compare view in the Syncro SVN Client. You can enter an XPath 2.0 expression to ignore certain nodes when comparing using the XML Fast or XML Accurate algorithms.

Watch this video demonstration to find out more more about "XML Three Way Diff" in Oxygen XML Editor 18:
https://www.youtube.com/watch?v=3wLmNZq ... e=youtu.be

For more details see the "Compare Files" section from our use manual:
http://oxygenxml.com/doc/versions/18.0/ ... rison.html

Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply