TEI XSL Stylesheets
Permalink
Failed to load latest commit information.
Documentation Fixes #129. Nov 11, 2015
Test More work on #250 Sep 26, 2018
Test2 Fix for expected results. Sep 10, 2018
bibtex change from use of common2 to common in ant tasks Jul 23, 2013
bin change hard-coded default path (addressing #242) Mar 12, 2017
cocoa Forgot to commit the stylesheet changes that create the modified resu… Apr 24, 2017
common Address #330: Sep 25, 2018
css span.address selector with default properties of html:address added May 4, 2017
csv Fixing merge problems. Mar 29, 2016
debian-tei-xsl auto-updated changelog Sep 28, 2018
docbook fix #308 cleaning up remaining hardcoded and superfluous references t… Sep 8, 2018
docx fix #308 cleaning up remaining hardcoded and superfluous references t… Sep 8, 2018
dtd change from use of common2 to common in ant tasks Jul 23, 2013
epub Commenting out bad CSS in epub output for issue #115, this time in ep… Sep 8, 2018
epub3 Commenting out bad CSS in epub output for issue #115. Sep 8, 2018
fo Adding a conditional to check whether there's any useful value Jan 30, 2018
html Stage one for issue #296: new parameter added to tei:makeDescription,… Jan 21, 2018
html5 Fixing merge problems. Mar 29, 2016
icml smallest of starts on TEI to InDesign, start with code from John Maxwell Jan 3, 2014
json some json library stuff Mar 12, 2015
latex Update from deprecated name of attribute to current name Nov 11, 2017
lib Upgraded to Saxon 9.8.0.5. Oct 12, 2017
lite Fixing merge problems. Mar 29, 2016
markdown Fixing merge problems. Mar 29, 2016
mediawiki Revert a362f5d..591ae12 Sep 8, 2014
nlm Fixing merge problems. Mar 29, 2016
odd change from use of common2 to common in ant tasks Jul 23, 2013
odds More work on #250 Sep 26, 2018
odt fix #308 cleaning up remaining hardcoded and superfluous references t… Sep 8, 2018
p4 Revert a362f5d..591ae12 Sep 8, 2014
pdf Fixing merge problems. Mar 29, 2016
profiles -display abstract at the beginning of an article in PDF Feb 12, 2018
rdf Stage one for issue #296: new parameter added to tei:makeDescription,… Jan 21, 2018
relaxng change from use of common2 to common in ant tasks Jul 23, 2013
rnc include trang jar file on distro, and change scripts accordingly Dec 1, 2013
schematron add teitoschematron script Oct 13, 2014
simple change mind about margin again May 25, 2015
slides fix #308 cleaning up remaining hardcoded and superfluous references t… Sep 8, 2018
tbx remove phrase "all rights reserved" as its meaningless Oct 11, 2014
tcp fix #308 cleaning up remaining hardcoded and superfluous references t… Sep 8, 2018
tite misunderstood change Dec 7, 2014
tools Minor changes for easier use with tei-publisher (#320) Apr 30, 2018
txt Fixing merge problems. Mar 29, 2016
verbatimxml Fixing merge problems. Mar 29, 2016
wordpress Revert a362f5d..591ae12 Sep 8, 2014
xlsx fix #308 cleaning up remaining hardcoded and superfluous references t… Sep 8, 2018
xsd Resolving #255. Jul 4, 2017
.gitignore Added .DS_Store to gitignore. Nov 2, 2017
.project started the big refactoring process Oct 11, 2009
.travis.yml add Travis build icon to Readme Sep 12, 2018
AUTHORS Revert a362f5d..591ae12 Sep 8, 2014
ChangeLog Prepare for release Sep 28, 2018
LICENCE clean up Nov 7, 2011
Makefile For issue #316, added tite to the list. If nothing breaks, ticket can… Sep 8, 2018
README.md add Travis build icon to Readme Sep 12, 2018
VERSION Update version to 7.47.0 as we just released 7.46.0 Sep 28, 2018
catalog.xml sciencejournal cleanup May 28, 2014
i18n.xml Work on TEI ticket #1657: translatable headings for deprecation appen… Sep 13, 2018

README.md

Stylesheets

Build Status

TEI XSL Stylesheets

This is a family of XSLT 2.0 stylesheets to transform TEI XML documents to various formats, including XHTML, LaTeX, XSL Formatting Objects, ePub, plain text, RDF, JSON; and to/from Word OOXML (docx) and OpenOfice (odt). They concentrate on the core TEI modules which are used for simple transcription and "born digital" writing. It is important to understand that they do not:

  • cover all TEI elements and possible attribute values
  • attempt to define a standard TEI processing or rendering model

and should not be treated as the definitive view of the TEI Consortium.

Usage

The bin/ directory contains several executable files, which can be run on Linux, OS X, or other Unix operating systems. These perform a variety of transformations and are very useful for, e.g., generating a schema from a TEI ODD. Some examples:

bin/teitorelaxng --odd ../TEI/P5/Exemplars/tei_all.odd tei_all.rng

Assuming you have a copy of the TEI Guidelines repository alongside your copy of the Stylesheets, this will take the tei_all ODD and generate a RelaxNG XML schema for you. Similarly,

bin/teitornc --odd ../TEI/P5/Exemplars/tei_lite.odd tei_lite.rnc

will produce a RelaxNG Compact Syntax schema for TEI Lite.