Exclude xml:lang in Diff Directories
Post here questions and problems related to editing and publishing DITA content.
Exclude xml:lang in Diff Directories
Hi there.
I am using the "Compare Directories" tool in Oxygen XML Editor to compare XML files.
I am looking at differences in the map structure across different target locales to see if everything aligns with the source code. (there are some errors to resolve)
So, I would like to ignore the xml:lang="xxx" as it is bringing up all the files as the language codes are all different.
Is there a solution to exclude this language attribute with the "Diff Directories" application ?
Thanks!
I am using the "Compare Directories" tool in Oxygen XML Editor to compare XML files.
I am looking at differences in the map structure across different target locales to see if everything aligns with the source code. (there are some errors to resolve)
So, I would like to ignore the xml:lang="xxx" as it is bringing up all the files as the language codes are all different.
Is there a solution to exclude this language attribute with the "Diff Directories" application ?
Thanks!
Re: Exclude xml:lang in Diff Directories
Hello,
The possibility to ignore nodes by XPath expressions is only available for Diff Files tool.
We have registered a task to allow nodes to be ignored via XPath expressions for Diff Directories too, but the proposed solutions are still under debate.
That's because the algorithm used to compare directories is particular and does not allow the direct application of the same node exclusion logic as in the case of direct comparison of 2 files.
Not without some performance issues.
Teo
The possibility to ignore nodes by XPath expressions is only available for Diff Files tool.
We have registered a task to allow nodes to be ignored via XPath expressions for Diff Directories too, but the proposed solutions are still under debate.
That's because the algorithm used to compare directories is particular and does not allow the direct application of the same node exclusion logic as in the case of direct comparison of 2 files.
Not without some performance issues.
Teo
Teodor Timplaru
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Exclude xml:lang in 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
Return to “DITA (Editing and Publishing DITA Content)”
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