Text Encoding Fundamentals and their Application
University of Victoria, June 2007
Syd Bauman, Brown University
(Syd_Bauman@Brown.edu)
Julia Flanders, Brown University
(Julia_Flanders@Brown.edu)
Workshop Schedule
Handouts
- Glossed list of elements for use in exercises, styled source
- Glossed list of elements for use in exercises, generated XHTML
- Samples, PDF
- Document analysis worksheet, PDF
- Instructions for advanced encoding exercise, HTML
Templates
Templates for the encoding excersises are available here.
Because these templates demonstrate how to link to a CSS stylesheet, and because they link to the empty template CSS stylesheet, it is likely that with most browsers clicking on the templates of XML documents will not prove very helpful. You will need to at least "view source", if not save them locally ("Save as…").
- Template using basic schema. Use this
template for the first few exercises. To use,
download to your TEIworkshop
folder and open from within oXygen.
- the above file should be used with this schema. To use the schema, follow the instructions below.
- you may find the schema documentation useful
- the ODD source of this customized schema may serve as a useful example
- The same template using the extensive schema; it also has schema documentation and the ODD source is available.
- Template with large TEI header. It uses the same ODD file and schema as the above.
- Template for CSS
Stylesheets
The XSLT stylesheet you need to transform one of our TEI source documents into HTML slides, handout notes, and lecture notes is yapsOut.xslt. Some rough documentation for its use is available in the schema documentation.
We use two CSS stylesheets for the slides.
- for use when the output HTML is viewed as a slide
- for use to browse the input TEI file
Demonstrations
The files from Syd's XInclude demo
Associating a Schema in oXygen
To tell oXygen which schema to use for a particular XML file, choose "XML Docuent > Associate schema…" from the "Document" menu. (There is also a little icon you can click on.) In the "Associate schema…" dialog box that appears, select the "RelaxNG Schema" tab and the "Compact syntax" button. Then find the correct schema, in one of two ways:
- copy & paste the URL to the desired schema into the address box, or
- download the schema from that URL to your local TEIworkshop directory, then click on the folder icon immediately to the right of the address box, and select the file you just downloaded.
Slides
For links to the slides used in the workshop, see the workshop schedule.
The following additional materials were not actually presented at the workshop:
- Language identification, TEI Source, HTML
- Documentation, TEI Source, HTML
- Character Issues, TEI Source, HTML
Colophon (for slides)
The slides are written in a customized TEI P5 markup language that is still under development. Feel free to read (and copy, modify, etc.) the ODD customization file; feel free to read the documentation for this language or to look at and use the resulting schema, but they should not be modified directly. (Change the ODD file and submit it to Roma.)
Links to resources and documentation
- TEI-L listserv archive. To subscribe to TEI-L, click on Join or leave the list (or change settings).
- Women Writers Project's encoding documentation
- Newton Papers Project
- Walt Whitman Archives
- DALF
- TEI tutorials and documentation
- Roma, the web-interface for making ODD files, and a tool for generating documentation and schemas from ODD files
- The TEI Pizza Chef, the Roma for P4