Generates an XML DIFF output from the inputs of the default port and the target port. It performs a diff on the two documents passed on the source and target ports.
This step can be used to generated output with change bars to highlight differences between two documents or two versions of a document.
<p:declare-step type="cpnz:dita-xml-diff"> <p:input port="source" /> <p:input port="target" required="true" /> <p:output port="result" /> </p:declare-step>
<!-- ===================================================================== --> <!-- XML DIFF --> <!-- ===================================================================== --> <cpnz:dita-xml-diff name="diff"> <p:input port="target"> <p:pipe step="load-target" port="result" /> </p:input> </cpnz:dita-xml-diff>