Exclude specific tag with Diff Directories
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- 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.
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.
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: Exclude specific tag with Diff Directories
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: Exclude specific tag with Diff Directories
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 81
- Joined: Wed Aug 30, 2017 3:56 pm
Re: Exclude specific tag with Diff Directories
The recently released version 27 of the Oxygen suite comes with news regarding the feature(s) requested on this thread.
Ignore Nodes by XPath option supported in directory comparisons
The Ignore Nodes by XPath option, and the XPath expression provided for this purpose, in the File Comparison preferences page are now taken into account when comparing directories by invoking the tool.
The option is accessible via the Directory Compare tool.
XPath expressions to exclude nodes supported in Compare Directories script
A previous limitation was solved for the Compare Directories command-line script making it now possible to use the -enx XPathExprToExcludeNodes argument.
It allows you to specify an XPath expression that will exclude certain nodes from the comparison.
This option can now be used without any limitation, regardless of the format chosen for the comparison report.
Regards,
Teo
Ignore Nodes by XPath option supported in directory comparisons
The Ignore Nodes by XPath option, and the XPath expression provided for this purpose, in the File Comparison preferences page are now taken into account when comparing directories by invoking the tool.
The option is accessible via the Directory Compare tool.
XPath expressions to exclude nodes supported in Compare Directories script
A previous limitation was solved for the Compare Directories command-line script making it now possible to use the -enx XPathExprToExcludeNodes argument.
It allows you to specify an XPath expression that will exclude certain nodes from the comparison.
This option can now be used without any limitation, regardless of the format chosen for the comparison report.
Regards,
Teo
Teodor Timplaru
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service