Theiling Online    Sitemap    Conlang Mailing List HQ   

Toolbox: interlinears on the web

From:taliesin the storyteller <taliesin-conlang@...>
Date:Sunday, February 25, 2007, 19:47
Following up on that great way of making interlinears appear on the web
that I discussed earlier this week, I have made an XSLT-file that will
convert XML from an interlinear as exported from SIL's Toolbox into
XHTML.

Get it all, and view an example, at:

http://taliesin.nvg.org/conlang/software/toolbox/

To export to XML in Toolbox:

Select the interlinear-window in Toolbox and chose the menus File >
Export. If there is no choice for export to XML there, press Add and
choose XML. If you can't add XML your Toolbox is a bit old, the newest
version was released earlier this year.

The defaults are ok if you must make yor own exporter, just remember to
give it a useful name.

Then, back to File > Export, choose XML and then a useful filename to
export to. Then use the stylesheet on the xml-file with the help of your
favorite xslt-processor, whatever that might be. I use xsltproc, which
is easy to get and often included if you're on linux:

xsltproc interlinear.xsl yourfilename > yourfilename.html

Put the css-file in the same folder/directory as the generated html then
have a look in your browser. Enjoy!


t.