Software / QBK XML Differ / Integration into automated XML processes
The QBK XML Differ supports more than manual one-off comparisons. Its engine can be integrated as a processing step into automated XML, build, publishing and quality assurance processes.
Ant integration
The supplied example project demonstrates invocation as a custom Apache Ant task. It takes two XML files and produces a result document.
<xmldiff
file1="base.xml"
file2="target.xml"
result="result.xml"
/>
XQuery and BaseX
Key parts of the matching engine are implemented in XQuery. The supplied project includes BaseX as its XQuery engine.
XSLT and Saxon
The project also includes XSLT components and uses Saxon, an XSLT processor. Diff results can therefore be transformed for further outputs and processing steps.
Edit script
The project includes components for creating and processing a structured edit script. Its schema is defined using RELAX NG Compact and Schematron.
Side-by-side output
In addition to PDF-oriented use, the project includes a side-by-side component using XSLT, HTML, CSS and JavaScript.
Typical integration scenarios
Possible integrations include:
Ant workflows
XML build processes
Server-side processing pipelines
Publishing pipelines
Continuous integration
Quality assurance processes
QBK XML Differ for your documents
We integrate the differ into your existing XML and publishing infrastructure.