X hits on this document

408 views

0 shares

1 downloads

0 comments

84 / 142

TEI

<lg>

<l>There lives a young girl in Lancaster town,</l> <l>Whose hair is a shiny pale green.</l> <l>She lives at the bottom of Morgan's farm pond,</l> <l>So she's really too hard to be seen.</l>

</lg> </body> <back></back> </text> </TEI.2>

TEI files have historically been created and then indexed/rendered with a set of middleware programs such as XPAT. With the increasing availability of XML technologies such as CSS and XSLT, a number of stylesheets have become available. The official TEI website offers links a few of these things, and the XSLT stylesheets work quite well.

Assuming you were to save the TEI text above with the filename getting.xml, you would be able to cre- ate a very nice XHTML document using the XSLT stylesheets and xstlproc like this: xsltproc tei- stylesheets/teihtml.xsl tei-getting.xml .

Here some same output:

76

Document info
Document views408
Page views414
Page last viewedMon Dec 05 18:55:49 UTC 2016
Pages142
Paragraphs3126
Words34660

Comments