87 lines
1.4 KiB
XML
87 lines
1.4 KiB
XML
|
<?xml version="1.0"?>
|
||
|
|
||
|
<!DOCTYPE shop [
|
||
|
<!ELEMENT shop (department+)>
|
||
|
|
||
|
<!ELEMENT department (shelf+)>
|
||
|
|
||
|
<!ELEMENT shelf (product+)>
|
||
|
<!ATTLIST shelf type CDATA #REQUIRED>
|
||
|
|
||
|
<!ELEMENT product (company, name)>
|
||
|
<!ATTLIST product type CDATA #REQUIRED>
|
||
|
|
||
|
<!ELEMENT company (#PCDATA)>
|
||
|
<!ELEMENT name (#PCDATA)>
|
||
|
]>
|
||
|
|
||
|
<shop>
|
||
|
<department>
|
||
|
<shelf type="spozywcze">
|
||
|
<product type="napoj">
|
||
|
<company>
|
||
|
Firma produkujaca sok
|
||
|
</company>
|
||
|
<name>
|
||
|
Sok
|
||
|
</name>
|
||
|
</product>
|
||
|
<product type="napoj">
|
||
|
<company>
|
||
|
Firma nieprodukujaca soku
|
||
|
</company>
|
||
|
<name>
|
||
|
Woda
|
||
|
</name>
|
||
|
</product>
|
||
|
</shelf>
|
||
|
|
||
|
<shelf type="papiernicze">
|
||
|
<product type="szkolne">
|
||
|
<company>
|
||
|
Zeszytolandia
|
||
|
</company>
|
||
|
<name>
|
||
|
Genialny zeszyt szkolny
|
||
|
</name>
|
||
|
</product>
|
||
|
<product type="ksiazki">
|
||
|
<company>
|
||
|
Tolkien Company
|
||
|
</company>
|
||
|
<name>
|
||
|
Władcy Pierścieni
|
||
|
</name>
|
||
|
</product>
|
||
|
</shelf>
|
||
|
|
||
|
<shelf type="odziez">
|
||
|
<product type="spodnie">
|
||
|
<company>
|
||
|
Tommy Hilfiger
|
||
|
</company>
|
||
|
<name>
|
||
|
Zbyt drogie jeansy
|
||
|
</name>
|
||
|
</product>
|
||
|
|
||
|
<product type="obuwie">
|
||
|
<company>
|
||
|
Zalando
|
||
|
</company>
|
||
|
<name>
|
||
|
Buty z Zalando
|
||
|
</name>
|
||
|
</product>
|
||
|
|
||
|
<product type="nakrycia_glowy">
|
||
|
<company>
|
||
|
Swiat Kapeluszy
|
||
|
</company>
|
||
|
<name>
|
||
|
Kapelusz
|
||
|
</name>
|
||
|
</product>
|
||
|
</shelf>
|
||
|
</department>
|
||
|
</shop>
|