X hits on this document

410 views

0 shares

1 downloads

0 comments

85 / 142

TEI

Be forewarned. The XSL stylesheet is configured in such a way to always save documents with the file name index.html even if you specify the -o option. You will have to edit the file named teixsl- html/teihtml-param.xsl to season your XHTML output to taste.

Exercise

In this exercise you will render a TEI file using CSS and XSLT.

1.

Render a TEI file using CSS

  • A.

    Open the file named tei.xml in NoteTab.

  • B.

    Add the following XML processing instruction to the top of the file: <?xml-stylesheet

type='text/css' href='tei-dancer.css'?>

  • C.

    Save the file.

  • D.

    Open tei.xml in your Web browser. Enjoy.

  • E.

    Change the value of href in tei.xml's XML processing instruction to tei-oucs.css.

  • F.

    Save the file.

  • G.

    Open tei.xml in your Web browser. Again, enjoy.

77

Document info
Document views410
Page views416
Page last viewedMon Dec 05 21:26:24 UTC 2016
Pages142
Paragraphs3126
Words34660

Comments