1
0
wstep-do-informatyki-2018-z.../Cw5/WG - pd5.xml

177 lines
4.4 KiB
XML
Raw Normal View History

2019-01-21 16:14:40 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE shop
[
<!ELEMENT shop (department+)>
<!ELEMENT department (shelf+)>
<!ELEMENT shelf (product+)>
<!ATTLIST department dep_name CDATA #REQUIRED>
<!ATTLIST shelf type CDATA #IMPLIED>
<!ELEMENT product (name, price, manufacturer, weight?, size?)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT price (#PCDATA)>
<!ELEMENT manufacturer (#PCDATA)>
<!ELEMENT weight (#PCDATA)>
<!ELEMENT size (#PCDATA)>
]>
<shop>
<department dep_name = "spożywcze">
<shelf type = "nabiał">
<product>
<name>Ser żółty Gouda</name>
<price>4,39zł</price>
<manufacturer>Hochland</manufacturer>
<weight>135g</weight>
</product>
<product>
<name>Jogurt naturalny</name>
<price>1,29zł</price>
<manufacturer>Zott</manufacturer>
<weight>180g</weight>
</product>
<product>
<name>Serek wiejski</name>
<price>1,85zł</price>
<manufacturer>Piątnica</manufacturer>
<weight>200g</weight>
</product>
</shelf>
<shelf type = "pieczywo">
<product>
<name>Chleb tostowy pszenny</name>
<price>2,39zł</price>
<manufacturer>Tesco</manufacturer>
<weight>500g</weight>
</product>
<product>
<name>Bułka tarta</name>
<price>2,79zł</price>
<manufacturer>Schulstad</manufacturer>
<weight>500g</weight>
</product>
<product>
<name>Chleb wiejski</name>
<price>2,99zł</price>
<manufacturer>Oskroba</manufacturer>
<weight>500g</weight>
</product>
</shelf>
<shelf type = "owoce i warzywa">
<product>
<name>Banany</name>
<price>0,75zł</price>
<manufacturer>Ekwador</manufacturer>
</product>
<product>
<name>Papryka czerwona</name>
<price>1,33zł</price>
<manufacturer>Holandia</manufacturer>
</product>
<product>
<name>Ogórek</name>
<price>2,69zł</price>
<manufacturer>Hiszpania</manufacturer>
</product>
</shelf>
</department>
<department dep_name = "papiernicze">
<shelf type = "artykuły papierowe">
<product>
<name>Papier kancelaryjny A3 - 100 sztuk</name>
<price>11,62zł</price>
<manufacturer>Interdruk</manufacturer>
</product>
<product>
<name>Brulion A4 96 kartek</name>
<price>7,67zł</price>
<manufacturer>Unipap</manufacturer>
</product>
<product>
<name>Bloczek samoprzylepny</name>
<price>23,73zł</price>
<manufacturer>Donau</manufacturer>
</product>
</shelf>
<shelf type = "przybory biurowe">
<product>
<name>Cienkopis</name>
<price>0,92zł</price>
<manufacturer>Kamet</manufacturer>
</product>
<product>
<name>Dziurkacz</name>
<price>12,32zł</price>
<manufacturer>Eagle</manufacturer>
</product>
<product>
<name>Nożyczki</name>
<price>6,08zł</price>
<manufacturer>Donau</manufacturer>
</product>
</shelf>
</department>
<department dep_name = "odzież">
<shelf type = "damska">
<product>
<name>Sukienka</name>
<price>69,99zł</price>
<manufacturer>Tesco</manufacturer>
<size>34-50</size>
</product>
<product>
<name>Kombinezon</name>
<price>79,99zł</price>
<manufacturer>Tesco</manufacturer>
<size>34-50</size>
</product>
<product>
<name>Bluzka</name>
<price>69,99zł</price>
<manufacturer>Tesco</manufacturer>
<size>34-50</size>
</product>
</shelf>
<shelf type = "męska">
<product>
<name>Koszulka polo</name>
<price>39,99zł</price>
<manufacturer>Tesco</manufacturer>
<size>S-4XL</size>
</product>
<product>
<name>Koszula</name>
<price>39,99zł</price>
<manufacturer>Tesco</manufacturer>
<size>4,5-19</size>
</product>
<product>
<name>Sweter</name>
<price>39,99zł</price>
<manufacturer>Tesco</manufacturer>
<size>S-3XL</size>
</product>
</shelf>
<shelf type = "dziecięca">
<product>
<name>Jeansy</name>
<price>49,99zł</price>
<manufacturer>Tesco</manufacturer>
<size>12-14 mies.</size>
</product>
<product>
<name>Spódnica</name>
<price>49,99zł</price>
<manufacturer>Tesco</manufacturer>
<size>12-24 mies.</size>
</product>
<product>
<name>Bluzka</name>
<price>39,99zł</price>
<manufacturer>Tesco</manufacturer>
<size>10-15 lat</size>
</product>
</shelf>
</department>
</shop>