<oo>→<dh> Digital humanities
Maintained by: David J. Birnbaum (djbpitt@gmail.com)
Last modified:
2022-10-26T01:49:19+0000
XSLT configuration in <oXygen/>
Configuring and running the transformation
- Open (or create) the XML and XSLT files in <oXygen/>
- Switch to the XSLT debugger view (red circle, far right)
- Select the XSLT engine (choose Saxon-HE) (orange circle, lower left)
- Check the XHTML box (green circle, right of center)
- Verify that you’ve chosen the correct XML and XSLT files in the drop-down boxes
at the top (blue circles, upper left). The files that will be used are not
necessarily the ones you see in the panels below the menu bar; the files that will
be used are the ones whose names are displayed in the dropdowns in the menu
bar.
- Specify an output filename to save output (fuchsia circle, upper middle). When you
click Save, it doesn’t save the output file; what it saves is your specification of
the filename to use for the output file. In order to save the output file you must
then run the transformation.
- Run the transformation straight through by clicking on the fat blue arrow (turquoise
circle, lower middle).
- Examine the output as XHTML and text in the right panel
Checking your work
You must open the output file created by your transformation in <oXygen/> and
validate it. If it isn’t valid, fix the XSLT, rerun the transformation, and validate the
new output. Valid HTML output is a baseline requirement for any transformation of XML to
HTML.