Self Study (part 2): Introduction to the Text Encoding Initiative Guidelines

Quite awhile ago I posted as a list of reading and steps I would recommend someone follow if they were wanting to learn TEI XML and related technologies. This first step was to learn a little bit about XML … Continue reading

Posted in SelfStudy, TEI, XML | 1 Comment

Tokenizing and grouping rhyme schemes with XSLT functions

There is a project I work for which has encoded rhyme schemes in TEI using the @rhyme attribute on <lg> elements.  This contains some complex strings as they have used parentheses to indicate an internal rhyme and asterisks to indicate … Continue reading

Posted in TEI, XML, XSLT | Leave a comment

Teaching the TEI-Panel

As part of the Text Encoding Initiative Consortium’s annual conference I participated in a panel organised by Elena Pierazzo called “Teaching the TEI: from training to academic curricula” see for the abstract. Florence Clavaud and Susan Schreibman were unable … Continue reading

Posted in Conference, TEI | Leave a comment

More about @rend

Lou Burnard has provided a technical summary of some of the recently issues discussed concerning @rend, but I thought I might provide some more explanation for those not as familiar with the technical background to the discussion. I would have … Continue reading

Posted in TEI, XML | 1 Comment

Self Study (part 1): Introducing XML and Markup

I’m occasionally asked what people should read and do if they want to teach themselves TEI P5 XML. Where should they start? This depends, obviously, on what time they have and what resources. I tend to recommend directed intensive training … Continue reading

Posted in SelfStudy, TEI, XML | 3 Comments

@rend and the war on text-bearing attributes

In discussing that the TEI attribute @rend from although it allows you to type just about anything in it, doesn’t actually allow anything more that a set of single tokens. I recently explained to John, Paul, George, or Ringo … Continue reading

Posted in TEI, XML | 2 Comments

Is it Bill or Ben that is speaking of flowerpot men?

A friend asked a question about how to encode a dramatic speech that possibly should be considered two speeches. Owing to a printing mistake, the second speaker’s name was omitted, so some consider it a single speech by the first … Continue reading

Posted in TEI, XML | Leave a comment

TEI P4 Support, Survey Results

Introduction This post contains the results of a survey that  collected information which the TEI Technical Council will use to assess the need for ongoing support for the TEI P4 version of its Guidelines. These have largely been replaced by the TEI P5 … Continue reading

Posted in TEI | 5 Comments

TEI Consortium and its Future

John Unsworth, interim chair of the TEI Consortium (TEI-C) has asked those running for TEI Board or TEI Technical Council, and those who are remaining in place to answer some questions regarding the development of the TEI.  I’m already serving a … Continue reading

Posted in TEI | 1 Comment

Digital Humanities 2011

Digital Humanities 2011 My report from Digital Humanities 2011 is below. If anyone wants any more information about the various sessions I attended, I’m happy to try and dredge my memory for a recollection of my impressions. Otherwise the book of abstracts is available. Most … Continue reading

Posted in Conference | 2 Comments

grouping by group-adjacent=”boolean(self::lb)”

A project I was doing some work for had some input that looked like: What they wanted as output was a table-layout (icky) that aligned two nested tables of the original and the transliteration like: If we ignore the icky … Continue reading

Posted in TEI, XML, XSLT | Leave a comment

Ubuntu Twinview Maximizing Windows problem

This is more of a note-to-self. I had a problem in my recent upgrade to the latest Ubuntu in that my two monitors, when set to ‘twinview’ meant that the panels and task bars, and maximized windows spanned both monitors. … Continue reading

Posted in Ubuntu | Leave a comment

Thunderbird Calendar Automatic Export

Previously I wrote about thunderbird, davmail, exchange and exporting to google calendar and my system was setup and working fine. Then I upgraded (full-wipe and install) to the latest Ubuntu operating system and I had to set things up again. … Continue reading

Posted in Ubuntu | Leave a comment

Teaching in Helsinki

I was recently invited to Helsinki by Varieng to teach a workshop on TEI XML, and specifically on TEI XML concentrating on transcription. The workshop slides and materials are at Though these were largely based on the TEI Summer … Continue reading

Posted in TEI | Leave a comment

simple dynamic transformation of xml with htaccess, php, and xslt

I often transform from TEI XML to XHTML as part of projects, but in some instances it is more difficult to manage using things like the eXist XML Database or Apache Cocoon, or even AxKit. This is because the hosting … Continue reading

Posted in other, TEI, XSLT | Leave a comment

For Loops in XSLT2

A colleague asked me the other day about the proper way to do for-loops in XSLT2 or more specifically in XPath2. He knows all about xsl:for-each and xsl:for-each-group iteration over things, and of course recursively calling a template while passing … Continue reading

Posted in XSLT | Leave a comment


Until December 2009 I worked on the ENRICH project, and as it has now finished, I thought that I should reflect on some of what the project has done and the aspects we’ve been involved with here in Oxford. For … Continue reading

Posted in TEI, XML | 4 Comments

Thunderbird + Lightning Nexus Calendar Export to Google Calendar

There are plenty of ways to sync one’s work (nexus, Oxford’s version of Exchange) calendar with google if you are using Windows and Outlook. However, I’m using Ubuntu Linux. The solution I’ve chosen for getting mail and shared calendaring is … Continue reading

Posted in Uncategorized | 1 Comment


I have just finished my poster for DRHA 2009 which is about the TEI-Comparator that RTS worked on for the Holinshed Project. My poster is available online in PDF and PNG formats. (Though for the record it was created in … Continue reading

Posted in TEI | 6 Comments


Rehdon asked me about giving @xml:id attributes to things, so I whipped up this quick XSLT stylesheet. Some people prefer to use generate-id() to get a truly random and unique ID without semantic baggage. In many cases, where IDs are … Continue reading

Posted in TEI, XSLT | 2 Comments