-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstock_dtd.xml
More file actions
31 lines (29 loc) · 844 Bytes
/
Copy pathstock_dtd.xml
File metadata and controls
31 lines (29 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8" standalone ="no"?>
<!DOCTYPE stock [
<!ELEMENT stock (nouveau, occasion+)>
<!ELEMENT nouveau (libelle, prix)>
<!ELEMENT occasion (libelle, category, prix, etat)>
<!ELEMENT libelle (#PCDATA)>
<!ELEMENT category (#PCDATA)>
<!ELEMENT prix (#PCDATA)>
<!ATTLIST prix devise (DZD | EUR | USD |YEN) #IMPLIED>
<!ELEMENT etat (#PCDATA)>
]>
<stock>
<nouveau>
<libelle>Semoule</libelle>
<prix devise="USD">12</prix>
</nouveau>
<occasion>
<libelle>Nintendo Wii</libelle>
<category>games</category>
<prix devise="DZD">9000</prix>
<etat>Bon</etat>
</occasion>
<occasion>
<libelle>Gödel, Escher, Bach: an Eternal Golden Braid</libelle>
<category>books</category>
<prix devise="EUR">40</prix>
<etat>Acceptable</etat>
</occasion>
</stock>