Skip to content

rociocastropinto/xml-euro2024-data-modelling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UEFA Euro 2024 — XML Data Modelling Exam

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).


What this project is

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.


Files

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

Data Modelled

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

Key XML/DTD Concepts Applied

  • DTD design: element declarations, attribute lists, required vs optional attributes
  • Date normalisation: converting dd.mm.yyyy (exam template) to ISO 8601 yyyy-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 Context

Course: XML and Data Modelling
Programme: M.A. Digital Humanities Institution: Georg-Augustus-Universität Göttingen
Semester: SoSe 2024


Author

Rocio Castro Pinto
M.A. Digital Humanities Georg-Augustus-Universität Göttingen

About

XML document encoding UEFA Euro 2024 tournament data (teams, players, matches, events, formations) with a custom DTD schema. Covers Germany's group stage and Spain's final run. Produced as a final exam for the M.A. Digital Humanities programme at the University of Göttingen.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors