Dear Students,
Below is a very rough sketch of what we will cover in class today. This is provided just for our reference, do not treat it as anything other than a rought outline.
General Schedule for 1/13/14
- Personal Introductions
- Discussion of Syllabus
- What is/are DH?
- What is a text?
- Break
- Introduction to XML
- Introduction to TEI
- Projects using TEI
Introduction to XML Notes
Notes Based on Kevin Hawkins, "Introduction to XML for Text" and David J. Birnbaum, "What is XML and why should humanities scholars care?"
- XML ("Extensible Markup Language") Cf:
- SGML ("Standard Generalized Markup Language")
- HTML (Hypertext Markup Language)
Definitions:
Tags or Elements
- Semantic rather than rendering style (is there a distinction?)
- Open and Close
- Nest or Child Nodes
- Document Tree
Content (Data and Metadata)
Attributes and Values
Document Tree
- heirarchy
- root, parent, child, sibling, ancestor, and descendent
Declaration
- Header
- Namespace
Schemas
- DTD (Document Type Definition)
- Well Formed
- Valid
Escape Characters
<
&
<!---
XML Standards
- XSLT
- "eXtensible Style Sheet Language Transformations, a programming language used to transform XML to other forms (other XML, HTML [web pages], plain text, etc.). The term style sheet is somewhat misleading; XSLT can be used to style an XML document, but it can also be used to create entirely new documents by transforming existing ones in almost unlimited ways."
- XQuery
- "A language used to query XML databases."
- XPath
- "A formal method of navigating the XML hierarchy, used by XSLT and XQuery. For example, if you want to generate a table of contents based on chapter titles, you use XPath to find (navigate to) all the chapter titles in your document and XSLT to generate an output document that contains the newly constructed table of contents."
- XSLT
TEI: Text Encoding Initiative
- Guidelines (not a Schema)
Resources:
- TEI Guidelines
TEI
- teiHeader
- text
- div
- p
- choice
- sic
- corr
- ref target=" "
- Names Dates People Places Events
- div
Recommended Exercises:
- TEI by Example, Modules 0 to 3.
- Required Response Paper: Identify and review an XML based digital humanities project relevant to your research or vocational interests.
Ways to find projects using TEI:
Ask on a list: