ODD Processing in oXygen (version 14)

Transformation scenarios

A transformation scenario is like a macro which enables you to run an XML file quickly through an XSLT transformation, save the resulting output, and then view it in an appropriate program such as a browser. So in a transformation scenario, you specify:

In this case, oXygen has some built-in transformation scenarios we can use to process our ODD customization file. These scenarios are already set up with the XSLT file, XSLT engine, output, and action. So all we need to do is to associate the desired scenario(s) with the ODD customization file, and then tell oXygen to execute the associated scenarios.

Generating ODD output

  1. Open your ODD file in oXygen; make it the front tab
  2. Press ⌘-⇧-c (⎈-⇧-c on Windows or GNU/Linux) or click on the “Configure Transformation Scenario(s)” button in the toolbar to set up the transformation scenario for your ODD file.
    oXygen toolbar with mouse hovering over configure
            transformation scenario button
  3. You’ll get the Configure Transformation Scenario(s) dialog box, showing the transformation scenarios that are readily available. At the top of the box is a text-entry field for filtering the scenarios shown in the main list. Enter tei odd:
    ODD transformation scenarios available.
  4. Leave the “Association follows selection” button unchecked, and click on the box associated with each of the desired transformations. This will usually be:
    • Schematron, ISO
    • XHTML
    • to RelaxNG XML
    • to RelaxNG Compact
    ODD transformation scenarios available.
  5. Click on Apply associated

All the transformations you selected will be run on the ODD file currently being edited. Several output windows will pop up in the lower part of the oXygen window, and XHTML (if any) will be opened in a browser. RELAX NG output will be saved into a subdirectory called out/. All this may take a minute or two.

Hereafter you can run the selected scenarios on the ODD file currently being edited by pressing ⌘-⇧-t (⎈-⇧-t on Windows or GNU/Linux) or clicking on the “Apply Transformation Scenario(s)” button (a red triangle in a circle).