Introduction to Humanities Text-Encoding

Using XML-based Tools on Humanities Texts

Martin Holmes

Stewart Arneil

Greg Newton

Session 1 Overview

Examples of Humanities Computing projects from UVic

Two definitions of "markup" from the OED

Markup is an ancient concept

Problems with this kind of "markup"

Preparing for markup: Document analysis

XML

Rulesets for document structure

Schemas

Start New Document with oXygen

Edit Your Sample Document in oXygen

Recap: TEI XML Encoding

Session 2 Overview

Setting up your workspace

A CSS Ruleset
Image

A CSS Ruleset: Selectors
Image

A CSS Ruleset: Properties
Image

A CSS Ruleset: Values
Image

A CSS Ruleset: Punctuation
Image

A CSS Ruleset: Recap
Image

Selectors we will use

Properties we will use

Steps in building a stylesheet

CSS Task 1

CSS Task 2 (much harder)

Limitations of CSS

XSLT: eXtensible Stylesheet Language Transformations

Getting started with XSLT

Building the XSLT file

Our first template:

The rest is just templates...

Wrapup: How our projects actually work