Загрузить файлы ''
This commit is contained in:
parent
5f50b09bc6
commit
3832d8efae
62
zadanie 5.txt
Normal file
62
zadanie 5.txt
Normal file
@ -0,0 +1,62 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE shop [
|
||||
<!ELEMENT shop (section+)>
|
||||
<!ELEMENT section (shelf+)>
|
||||
<!ATTLIST shelf domain CDATA #REQUIRED>
|
||||
<!ELEMENT shelf (food*, office_supplies*, clothes*)>
|
||||
<!ELEMENT food (sausage, apple, banana)>
|
||||
<!ELEMENT office_supplies (pen, pencil, glue)>
|
||||
<!ELEMENT clothes (hat, tshirt, pants)>
|
||||
<!ELEMENT apple (#PCDATA)>
|
||||
<!ELEMENT sausage (#PCDATA)>
|
||||
<!ELEMENT banana (#PCDATA)>
|
||||
<!ELEMENT pen (#PCDATA)>
|
||||
<!ELEMENT pencil (#PCDATA)>
|
||||
<!ELEMENT glue (#PCDATA)>
|
||||
<!ELEMENT hat (#PCDATA)>
|
||||
<!ELEMENT tshirt (#PCDATA)>
|
||||
<!ELEMENT pants (#PCDATA)>
|
||||
]>
|
||||
<shop>
|
||||
<section>
|
||||
<shelf domain="1">
|
||||
<food>
|
||||
<sausage>
|
||||
s
|
||||
</sausage>
|
||||
<apple>
|
||||
a
|
||||
</apple>
|
||||
<banana>
|
||||
b
|
||||
</banana>
|
||||
</food>
|
||||
</shelf>
|
||||
<shelf domain="2">
|
||||
<office_supplies>
|
||||
<pen>
|
||||
p
|
||||
</pen>
|
||||
<pencil>
|
||||
p
|
||||
</pencil>
|
||||
<glue>
|
||||
g
|
||||
</glue>
|
||||
</office_supplies>
|
||||
</shelf>
|
||||
<shelf domain="3">
|
||||
<clothes>
|
||||
<hat>
|
||||
h
|
||||
</hat>
|
||||
<tshirt>
|
||||
t
|
||||
</tshirt>
|
||||
<pants>
|
||||
p
|
||||
</pants>
|
||||
</clothes>
|
||||
</shelf>
|
||||
</section>
|
||||
</shop>
|
Loading…
Reference in New Issue
Block a user