-
Notifications
You must be signed in to change notification settings - Fork 2
Transforming XML Files
0. If you haven't installed the Junicode font already, please do so: http://sourceforge.net/projects/junicode/files/latest/download?source=files Download and open the .zip, then install each font file within it. (On Windows, that means opening each font file, choosing Install, and closing the preview window.)
Then some steps in oXygen:
1. With one of our project XML files open, configure a new transformation scenario. (Icon bar: wrench with arrowhead, or Shift-Ctrl-C on Windows. Mac users should check oXygen's Help feature or ask skg.)
In the Configure Transformation Scenario(s) dialog, choose New > XML transformation with XSLT.
XSLT tab: 1A. To the right of "XSL URL:" are three little icons. Choose the middle one (folder), then navigate to and select the proofing xsl file. Choose OK.
1B. Transformer: select Saxon-HE 9.5.1.5.
Output tab: 1C. Type "out.html" in the "Save as" field. Change it at will--that's a safe default.
1D. Tick the "Open in Browser" box, and select "Saved file".
Choose OK.
2. Whenever you'd like to update the HTML output (out.html), apply the transformation scenario (icon: red "play" button immediately left of the wrench, or Shift-Ctrl-T).
out.html ought to open in your default web browser. Each time you transform the file, the browser will open a new tab or window for it (depending upon your browser's settings). I like to run the transformation while keeping the old browser tab open, then to close the newly created tab, then refresh the old tab. For most browsers that'll keep the scrolled-to position yet update the content suitably.