Académique Documents
Professionnel Documents
Culture Documents
Said BAHASSINE
S.bahassine2@gmail.com
GÉNÉRALITÉS
1
12/11/2023
GÉNÉRALITÉS
Afficher
Fichier xml_1
Représente
Affichage xml_1
Données Représente
Afficher
2
12/11/2023
Afficher
Conforme Afficher
fichier .dtd
3
12/11/2023
TYPES DE DTD
Déclaration
DTD <!>
TYPES DE DTD
Déclaration
4
12/11/2023
Exemple :
< exemple nom="Rami"/>
Pour rappel, un élément vide ne peut ni contenir de
texte, ni contenir d’autres éléments.
Par contre, un élément de type vide peut bien sûr avoir
des attributs.
10
10
5
12/11/2023
11
12
12
6
12/11/2023
Formation.dtd
Formation.xml
13
13
Démonstration
Travaillons ensemble
14
14
7
12/11/2023
15
16
8
12/11/2023
17
<elt3>…</elt3>
</ exemple > 18
18
9
12/11/2023
19
19
20
10
12/11/2023
21
22
11
12/11/2023
<elt>
Salut !
</elt>
23
23
24
24
12
12/11/2023
<!ELEMENT elt(…)>!
<!ATTLIST elt attr1 CDATA "jus de fruit"!
attr2 NMTOKEN "euro" > !
25
25
26
13
12/11/2023
Déclaration d’entités
<!ENTITY Mbg "Master Big Data">
<!ENTITY Logo "/data/images/logo.gif">
Référence
Inscription en &Mbg;
<img src="&Logo;">
27
27
28
14
12/11/2023
29
29
15