Altova DiffDog 2024 Enterprise Edition

Generating an XSLT Stylesheet

Home Prev Top Next

After you have compared two XML Schemas in DiffDog, you can generate an XSLT stylesheet which can later be executed on existing XML files so as to reflect the changes in the XML Schema in the XML files that have previously been generated using this schema.

 

You can either save the XSLT or open it in XMLSpy® if you have XMLSpy installed on your computer. The relevant commands are included in the context menu.

To generate an XSLT Stylesheet:

Do one of the following:

 

Right-click the title bar of either component or anywhere into the XML Schema Comparison window and select Generate XSLT Left to Right... or press Alt+Right. Alternatively, click the Generate Result Left to Right ic_copy-L2R button in the Diff and Merge toolbar and select the Generate XSLT and save to file radio button in the Generate result Left to Right dialog box.

Right-click the title bar of either component or anywhere into the XML Schema Comparison window and select Generate XSLT Right to Left... or press Alt+Left. Alternatively, click the Generate Result Right to Left ic_copy_R2L button in the Diff and Merge toolbar and select the Generate XSLT and save to file radio button in the Generate result Right to Left dialog box.

To display an XSLT Stylesheet in XMLSpy:

Do one of the following:

 

Right-click the title bar of either component or anywhere into the XML Schema Comparison window and select Open XSLT Left to Right in XMLSpy. Alternatively, click the Generate Result Left to Right ic_copy-L2R button in the Diff and Merge toolbar and select the Open XSLT in XMLSpy radio button in the Generate result Left to Right dialog box.

Right-click the title bar of either component or anywhere into the XML Schema Comparison window and select Open XSLT Right to Left in XMLSpy. Alternatively, click the Generate Result Right to Left ic_copy_R2L button in the Diff and Merge toolbar and select the Open XSLT in XMLSpy radio button in the Generate result Right to Left dialog box.

© 2017-2023 Altova GmbH