tei2024-XSLT-workshop

code repository to support the TEI 2024 workshop, “Navigating and Processing Data from the TEI with XSLT”


Project maintained by TEIC Hosted on GitHub Pages — Theme by mattgraham

What is XPath

XPath is a syntax used in XSLT, XQuery, and other X-technologies to navigate through XML documents and generate “returns.” For example, it can be used to extract subtrees, manipulate data, or count elements.

Node Types

XPath Navigation

XPath Axes

XPath navigation

Workshop XPath expressions

For letters with names encoded

For letters with parts of speech encoded (The following questions only apply to the es_P54000-TEIP5.xml document):

Write XPath expressions to isolate different parts of speech, working carefully with predicate expressions.