XML.com: Controlling Whitespace, Part 1

“XML considers four characters to be whitespace: the carriage return, the linefeed, the tab, and the spacebar space. Microsoft operating systems put both a carriage return and a linefeed at the end of each line of a text file, and people usually refer to the combination as the “carriage return”. XSLT stylesheet developers often get frustrated over the whitespace that shows up in their result documents — sometimes there’s more than they wanted, sometimes there’s less, and sometimes it’s in the wrong place. Over the next few columns, we’ll discuss how XML and XSLT treat whitespace to gain a better understanding of what can happen, and we’ll look at some techniques for controlling how an XSLT processor adds whitespace to the result document.”


Comprehensive CSS Stylesheet – TEIWiki

The following is an attempt to gradually build CSS for each TEI element, paralleling the default TEI stylesheets (while also potentially serving as a kind of discussion center for how the stylesheets ought to operate (see Formatting TEI documents on how there is a need for this despite TEI being agnostic as to output formatting), at least for issues pertaining solely to formatting as opposed to semantics), by indicating here necessary deviations from the XHTML stylesheets (due to CSS constraints) or potentially desirable alternatives, etc.).


At this page presented set of XSLT stylesheet for MathML 2.0 to LaTeX translation. The XSLT stylesheet is expected to be used as a module for more general transformations. It is implemented purely in XSLT, that is they do not use any extensions.

Yet XSLT MathML Library exists at SourceForge: http://sourceforge.net/projects/xsltml/

Full MathML 2.0 is is supported

TEI to MODS Mapping Issues and Challenges – LETRS/ETDC/E-Text Planning – Confluence

What: A conceptual mapping (and eventually xslt for transformation) between the TEI Header (specifically the headers for the Indiana Magazine of History project) and the Metadata Object Description Schema (MODS)

Why: We considered using MODS to capture article-level metadata for the project. We eventually decided to keep all of the bibliographic information within the TEI itself, with the understanding that we might eventually want to switch to MODS (as the Independent Header becomes obsolete). This mapping will make that transition easier.

TEI @ ISO project

This web site documents the development of components for managing ISO standards using TEI markup, which will support the authoring of standards documents in a variety of writing environments.

The core component of this toolkit is an archival XML schema built using the Text Encoding Initiative (TEI) framework, accompanied by a suite of XSLT transformations to enable ISO documents to be converted to and from other systems.

The project is managed and resourced by the University of Oxford, with assistance from the Text Encoding Initiative, Brigham Young University and the Max Planck Digital Library, Berlin.

XSL stylesheets for TEI XML

This is a set of XSLT specifications to transform TEI XML documents to XHTML, to LaTeX, to XSL Formatting Objects and to OOXML (docx) format. The files can be downloaded from the Releases area of http://tei.sf.net. They concentrates on the simpler TEI modules, but adding support for other modules is fairly easy. In the main, the setup has been used on ‘new’ documents, ie reports and web pages that have been authored from scratch, rather than traditional TEI-encoded existing material.