Page 1 of 1
No XSLT Output with TEI Stylesheets
Posted: Thu Feb 19, 2004 5:21 pm
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.
Posted: Thu Feb 19, 2004 6:46 pm
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