123 lines
2.9 KiB
Plaintext
123 lines
2.9 KiB
Plaintext
<?xml version="1.0"?>
|
|
<!DOCTYPE shop [
|
|
<!ELEMENT shop (department+)>
|
|
<!ELEMENT department (shelf+)>
|
|
<!ATTLIST department domain CDATA #REQUIRED>
|
|
<!ELEMENT shelf (product*)>
|
|
<!ELEMENT product (name, price)>
|
|
<!ELEMENT name (#PCDATA)>
|
|
<!ELEMENT price (#PCDATA)>
|
|
]>
|
|
|
|
<shop>
|
|
<department domain="Spożywczy">
|
|
<shelf>
|
|
<product>
|
|
<name>
|
|
Coca-cola puszka 250 ml
|
|
</name>
|
|
<price>
|
|
3 pln
|
|
</price>
|
|
</product>
|
|
</shelf>
|
|
<shelf>
|
|
<product>
|
|
<name>
|
|
Bułka kajzerka
|
|
</name>
|
|
<price>
|
|
0,80 pln
|
|
</price>
|
|
</product>
|
|
</shelf>
|
|
</department>
|
|
<department domain="Papierniczy">
|
|
<shelf>
|
|
<product>
|
|
<name>
|
|
Długopis wkład czarny
|
|
</name>
|
|
<price>
|
|
3 pln
|
|
</price>
|
|
</product>
|
|
</shelf>
|
|
<shelf>
|
|
<product>
|
|
<name>
|
|
Blok papier biały A4 50 kartek
|
|
</name>
|
|
<price>
|
|
5 pln
|
|
</price>
|
|
</product>
|
|
</shelf>
|
|
</department>
|
|
<department domain="Elektronika">
|
|
<shelf>
|
|
<product>
|
|
<name>
|
|
Sony ericsson odtwarzacz mp3
|
|
</name>
|
|
<price>
|
|
200 pln
|
|
</price>
|
|
</product>
|
|
</shelf>
|
|
<shelf>
|
|
<product>
|
|
<name>
|
|
Gra Fifa 09
|
|
</name>
|
|
<price>
|
|
99 pln
|
|
</price>
|
|
</product>
|
|
</shelf>
|
|
</department>
|
|
<department domain="Sport">
|
|
<shelf>
|
|
<product>
|
|
<name>
|
|
Piłka nożna Kappa
|
|
</name>
|
|
<price>
|
|
39 pln
|
|
</price>
|
|
</product>
|
|
</shelf>
|
|
<shelf>
|
|
<product>
|
|
<name>
|
|
Koszulka reprezentacja Polski Robert Lewandowski
|
|
</name>
|
|
<price>
|
|
69 pln
|
|
</price>
|
|
</product>
|
|
</shelf>
|
|
</department>
|
|
<department domain="Odzież">
|
|
<shelf>
|
|
<product>
|
|
<name>
|
|
Spodnie jeansy niebeiskie
|
|
</name>
|
|
<price>
|
|
199 pln
|
|
</price>
|
|
</product>
|
|
</shelf>
|
|
<shelf>
|
|
<product>
|
|
<name>
|
|
Klapki gumowe Kubota
|
|
</name>
|
|
<price>
|
|
29 pln
|
|
</price>
|
|
</product>
|
|
</shelf>
|
|
</department>
|
|
</shop> |