TEI Members Meeting 2010 Tutorials

This site hosts information about the XForms and XQuery tutorials being taught at the TEI 2010 Members Meeting in Zadar, Croatia, by C. M. Sperberg-McQueen of Black Mesa Technologies LLC and Syd Bauman of Brown University.

Building interactive XML tools with XForms

This workshop introduces XForms as a technology for building special-purposes XML editors with limited functionality and correspondingly simple user interfaces. XForms is built on the model / view / controller idiom, in which the ‘model’ is a set of XML documents, the ‘view’ is specified using XHTML and XForms widgets, and the ‘controller’ takes the form of declarative links between widgets and elements or attributes in the XML documents. With XForms, projects can develop vocabulary- and task-specific editors which require less training and provide better task-specific support than full XML editors; it is thus easier to allow domain experts to examine and modify XML encoding, and routine tasks can be performed more quickly and reliably. Hands-on exercises will be provided.

Topics include: design goals of XForms; the XForms processing model; padded-cell editors; XForms widgets; datatypes; auto-calculation; validation in the client; selective display; dynamic labels and multi-lingual interfaces; tabbed interfaces for multi-part forms; deployment issues. Participants should have some knowledge of XHTML markup and XPath and be comfortable editing XML documents; programming experience is not required.

The slides are available on the web, as is the list of exercises. For a set of useful links, see the resources page.

Introduction to XQuery as a tool for TEI users

This tutorial will give participants a solid introduction to XQuery, a query and transformation language for XML documents. XQuery can be used to translate XML-tagged data into HTML, to modify the tagging of data, and (of course) to search large bodies of XML material. Many XML processing tasks which are possible but inconvenient in Java, C, or Python are much more convenient in XQuery.

Hands-on exercises will give students experience actually writing queires for the interrogation and transformation of XML-tagged data. Participants should have good knowledge of XML syntax and XPath 1.0; knowledge of XSLT 1.0 is helpful but not a prerequisite. Familiarity with basic programming concepts (input, output, types, flow of control will be helpful (or alternatively, the ability to confront new concepts without fear).

The slides are available on the web, as is the list of exercises. For a set of useful links, see the resources page.

About Syd and Michael

Michael Sperberg-McQueen is an independent consultant specializing in problems of long-term preservation and access for scholarly, scientific, public, and cultural-heritage information. He was one of the co-editors of TEI P1, P2, and P3, of the W3C XML 1.0 specification, and of the W3C XML Schema Definition Language (XSD) 1.1 specification.

Syd Bauman is the Senior XML Programmer/Analyst at the Brown University Center for Digital Scholarship, working with the Brown University Women Writers Project. Syd became a hard-core computer user in 1982, and a devotee of descriptive markup two years later. He began using SGML and the TEI when he came to the Women Writers Project.

Syd’s area of specialty is the Text Encoding Initiative (TEI), for which he served as co-editor of TEI P4 and P5. One of his goals is to take advantage of his experience using TEI to make it easier for others to do so. Thus Syd often travels far and wide teaching TEI workshops and seminars with Julia Flanders, and spends much of his time helping people implement TEI in their projects.