215 lines
5.4 KiB
XML
215 lines
5.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE shop [
|
|
<!ELEMENT shop (section+)>
|
|
<!ELEMENT section (shelf+)>
|
|
<!ATTLIST section domain CDATA #REQUIRED>
|
|
<!ELEMENT shelf (product+)>
|
|
<!ATTLIST shelf specification CDATA #REQUIRED>
|
|
<!ELEMENT product (name,price,color*,company_name*,sheet_type*,size*,expiration_date*,country_of_origin*,weight*)>
|
|
<!ELEMENT name (#PCDATA)>
|
|
<!ELEMENT price (#PCDATA)>
|
|
<!ELEMENT color (#PCDATA)>
|
|
<!ELEMENT company_name (#PCDATA)>
|
|
<!ELEMENT sheet_type (#PCDATA)>
|
|
<!ELEMENT size (#PCDATA)>
|
|
<!ELEMENT expiration_date (#PCDATA)>
|
|
<!ELEMENT country_of_origin (#PCDATA)>
|
|
<!ELEMENT weight (#PCDATA)>
|
|
]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<shop>
|
|
<section domain = "food">
|
|
<shelf specification = "dairy_products">
|
|
<product>
|
|
<name>cheese</name>
|
|
<price>4$</price>
|
|
<expiration_date>14.02.2019</expiration_date>
|
|
<company_name>Mlekpol</company_name>
|
|
</product>
|
|
<product>
|
|
<name>joghurt</name>
|
|
<price>2$</price>
|
|
<expiration_date>01.12.2018</expiration_date>
|
|
<company_name>Pilos</company_name>
|
|
</product>
|
|
<product>
|
|
<name>sour_cream</name>
|
|
<price>2$</price>
|
|
<expiration_date>02.12.2018</expiration_date>
|
|
<company_name>Piątnica</company_name>
|
|
</product>
|
|
</shelf>
|
|
<shelf specification = "fruits">
|
|
<product>
|
|
<name>orange</name>
|
|
<price>0.4$</price>
|
|
<weight>300g</weight>
|
|
<country_of_origin>Brasil</country_of_origin>
|
|
</product>
|
|
<product>
|
|
<name>apple</name>
|
|
<price>0.3$</price>
|
|
<weight>200g</weight>
|
|
<country_of_origin>Poland</country_of_origin>
|
|
</product>
|
|
<product>
|
|
<name>grapes</name>
|
|
<price>3$</price>
|
|
<weight>1kg</weight>
|
|
<country_of_origin>Italy</country_of_origin>
|
|
</product>
|
|
</shelf>
|
|
<shelf specification = "vegetables">
|
|
<product>
|
|
<name>cauliflower</name>
|
|
<price>1.5$</price>
|
|
<weight>800g</weight>
|
|
<country_of_origin>Poland</country_of_origin>
|
|
</product>
|
|
<product>
|
|
<name>zucchini</name>
|
|
<price>1$</price>
|
|
<weight>325g</weight>
|
|
<country_of_origin>Italy</country_of_origin>
|
|
</product>
|
|
<product>
|
|
<name>tomato</name>
|
|
<price>0.2$</price>
|
|
<weight>200g</weight>
|
|
<country_of_origin>Poland</country_of_origin>
|
|
</product>
|
|
</shelf>
|
|
</section>
|
|
<section domain = "clothing">
|
|
<shelf specification = "trousers">
|
|
<product>
|
|
<name>jeans</name>
|
|
<price>20$</price>
|
|
<size>M</size>
|
|
<company_name>Wrangler</company_name>
|
|
</product>
|
|
<product>
|
|
<name>joggers</name>
|
|
<price>18$</price>
|
|
<size>S</size>
|
|
<company_name>Lee</company_name>
|
|
</product>
|
|
<product>
|
|
<name>cords</name>
|
|
<price>23$</price>
|
|
<size>XL</size>
|
|
<company_name>HM</company_name>
|
|
</product>
|
|
</shelf>
|
|
<shelf specification = "shoes">
|
|
<product>
|
|
<name>heels</name>
|
|
<price>150$</price>
|
|
<size>36</size>
|
|
<company_name>Kurt Geiger</company_name>
|
|
</product>
|
|
<product>
|
|
<name>trainers</name>
|
|
<price>80$</price>
|
|
<size>42</size>
|
|
<company_name>Nike</company_name>
|
|
</product>
|
|
<product>
|
|
<name>sandshoes</name>
|
|
<price>200$</price>
|
|
<size>43</size>
|
|
<company_name>Commes des garcons</company_name>
|
|
</product>
|
|
</shelf>
|
|
<shelf specification = "shirts">
|
|
<product>
|
|
<name>long_sleeve</name>
|
|
<price>15$</price>
|
|
<size>M</size>
|
|
<company_name>HM</company_name>
|
|
</product>
|
|
<product>
|
|
<name>polo</name>
|
|
<price>80$</price>
|
|
<size>L</size>
|
|
<company_name>Pierre Cardin</company_name>
|
|
</product>
|
|
<product>
|
|
<name>tshirt</name>
|
|
<price>20$</price>
|
|
<size>M</size>
|
|
<company_name>Nike</company_name>
|
|
</product>
|
|
</shelf>
|
|
</section>
|
|
<section domain = "stationery">
|
|
<shelf specification = "pens">
|
|
<product>
|
|
<name>ballpoint</name>
|
|
<price>4$</price>
|
|
<color>blue</color>
|
|
<company_name>BIC</company_name>
|
|
</product>
|
|
<product>
|
|
<name>rollerball</name>
|
|
<price>3$</price>
|
|
<color>green</color>
|
|
<company_name>Pentel</company_name>
|
|
</product>
|
|
<product>
|
|
<name>gel</name>
|
|
<price>5$</price>
|
|
<color>black</color>
|
|
<company_name>Dreampen</company_name>
|
|
</product>
|
|
</shelf>
|
|
<shelf specification = "notebooks">
|
|
<product>
|
|
<name>a4</name>
|
|
<price>8$</price>
|
|
<color>red</color>
|
|
<company_name>Oxford</company_name>
|
|
<sheet_type>squared</sheet_type>
|
|
</product>
|
|
<product>
|
|
<name>a5</name>
|
|
<price>5$</price>
|
|
<color>blue</color>
|
|
<company_name>Interdruk</company_name>
|
|
<sheet_type>lined</sheet_type>
|
|
</product>
|
|
<product>
|
|
<name>a6</name>
|
|
<price>11$</price>
|
|
<color>green</color>
|
|
<company_name>Herlitz</company_name>
|
|
<sheet_type>lined</sheet_type>
|
|
</product>
|
|
</shelf>
|
|
<shelf specification = "add-ons">
|
|
<product>
|
|
<name>eraser</name>
|
|
<price>1$</price>
|
|
<size>small</size>
|
|
<company_name>BIC</company_name>
|
|
</product>
|
|
<product>
|
|
<name>stapler</name>
|
|
<price>12$</price>
|
|
<company_name>Leitz</company_name>
|
|
</product>
|
|
<product>
|
|
<name>sharpener</name>
|
|
<price>2$</price>
|
|
<size>medium</size>
|
|
<company_name>BIC</company_name>
|
|
</product>
|
|
</shelf>
|
|
</section>
|
|
</shop> |