An XML encoding exercise modelling the UEFA European Championship 2024 tournament data, produced as a final exam for the M.A. Digital Humanities programme at Georg-Augustus-Universität Göttingen (SoSe 2024).
A structured XML document encoding team, player, and match data from UEFA Euro 2024, including match events (goals, fouls, substitutions, cards) and starting formations. The project required designing a DTD schema from scratch, then encoding real tournament data in a well-formed, valid XML document.
The exercise covers Germany's group stage matches against Scotland (5:1), Hungary (2:0), Switzerland (1:1 draw), and Denmark, plus Spain's run to the final.
| File | Description |
|---|---|
Rocio_Castro_Final_03.xml |
Final submission — complete XML document with DTD |
Rocio_Castro_Final.xml |
Earlier version |
Final_exam_rocio_castro_pinto_v02.xml |
Revision v02 |
Final_exam_rocio_castro_pinto_v01.xml |
Revision v01 |
exam.xml |
Original exam template with sample data provided by instructor |
Teams encoded: Germany, Spain, Scotland, Switzerland, Denmark
Structure per team:
- Coach (name, birth date)
- Player roster (name, birth date, club, club country)
- Starting formation per match
Matches encoded:
- Type (group stage / knockout)
- Date, city, teams, result
- Starting formations for both teams
- Full event log: goals with scorer + assist, fouls, cards, substitutions
Sample match data included:
- Germany 5:1 Scotland (Munich, 14 Jun 2024)
- Germany 2:0 Hungary
- Switzerland 1:1 Germany
- Denmark vs Germany
- DTD design: element declarations, attribute lists, required vs optional attributes
- Date normalisation: converting
dd.mm.yyyy(exam template) to ISO 8601yyyy-mm-dd - Structured vs free-text event encoding: replacing
<event>prose with typed, player-referenced sub-elements - Attribute typing: enumerated types for event
type(goal, foul, card, substitution) - Cross-referencing: player names consistent across
<teams>,<beginningFormation>, and<events>
Course: XML and Data Modelling
Programme: M.A. Digital Humanities
Institution: Georg-Augustus-Universität Göttingen
Semester: SoSe 2024
Rocio Castro Pinto
M.A. Digital Humanities
Georg-Augustus-Universität Göttingen