summaryrefslogtreecommitdiff
path: root/Year_2/Databases/university_marks.dtd
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-02-06 20:35:22 +0100
committerSanto Cariotti <santo@dcariotti.me>2021-02-06 20:35:22 +0100
commit3c5a09ef620a9256fb3cf85d5d913fc2507515b0 (patch)
treea9472191137d3417808e8c05385c129cbf7454dd /Year_2/Databases/university_marks.dtd
parentd2edbc38cac8da52f58c5cd3da6c0c625fa05736 (diff)
course: databases
Diffstat (limited to 'Year_2/Databases/university_marks.dtd')
-rw-r--r--Year_2/Databases/university_marks.dtd14
1 files changed, 14 insertions, 0 deletions
diff --git a/Year_2/Databases/university_marks.dtd b/Year_2/Databases/university_marks.dtd
new file mode 100644
index 0000000..caab080
--- /dev/null
+++ b/Year_2/Databases/university_marks.dtd
@@ -0,0 +1,14 @@
+<!ELEMENT libretti (libretto)*>
+<!ELEMENT libretto (studente, esami)?>
+<!ELEMENT studente (nome, cognome)>
+<!ELEMENT nome (#PCDATA)>
+<!ELEMENT cognome (#PCDATA)>
+<!ATTLIST studente
+ cdl CDATA #REQUIRED
+ matricola CDATA #REQUIRED
+>
+<!ELEMENT esami (esame)+>
+<!ELEMENT esame (materia, data, voto)>
+<!ELEMENT materia (#PCDATA)>
+<!ELEMENT data (#PCDATA)>
+<!ELEMENT voto (#PCDATA)>