No XSLT Output with TEI Stylesheets

Having trouble installing Oxygen? Got a bug to report? Post it all here.
jawalsh@indiana.edu

No XSLT Output with TEI Stylesheets

Post by jawalsh@indiana.edu »

I'm trying to use the TEI Stylesheets included with Oxygen, but I'm not getting any output other than '<?xml version="1.0" encoding="utf-8"?>'. The stylesheets work fine from the command line, using saxon, xalon, or xsltproc (libxslt). I've tried with Oxygen 3.1 on Mac OS X and 3.0 on Windows. Same behavior on both machines.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

You probably used the teihtml.xsl stylesheet. You can use teihtml-teic.html and the stylesheet output will be placed in the file listed in the field "Save As" of the scenario configuration dialog. If you use teihtml.xsl you have to set the outputDir parameter of the stylesheet to the directory where you want to obtain the output HTML document. The output document will be called like the source XML document excepting the extension which will be changed from .xml to .html (if the extension of the input is not .xml then the output name will be obtained by appending .html to the input name). You can control the output name by setting the parameter inputName. For example if the outputDir is /home/user/project/ and the inputName is test.xml then teihtml.xsl will write the result in /home/user/project/test.html

Regards,
Sorin
Post Reply