34 lines
594 B
Plaintext
34 lines
594 B
Plaintext
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE shop [
|
|
<!ELEMENT shop (section+)>
|
|
<!ELEMENT section (shelf+)>
|
|
<!ELEMENT shelf (product*)>
|
|
<!ATTLIST shelf type CDATA "">
|
|
<!ELEMENT product (name, price)>
|
|
<!ELEMENT name (#PCDATA)>
|
|
<!ELEMENT price (#PCDATA)>
|
|
]>
|
|
|
|
<shop>
|
|
<section>
|
|
<shelf type="food">
|
|
<product>
|
|
<name>bread</name>
|
|
<price>1,50</price>
|
|
</product>
|
|
</shelf>
|
|
<shelf type="stationery">
|
|
<product>
|
|
<name>notebook</name>
|
|
<price>2,00</price>
|
|
</product>
|
|
</shelf>
|
|
<shelf type="clothing">
|
|
<product>
|
|
<name>blouse</name>
|
|
<price>50,00</price>
|
|
</product>
|
|
</shelf>
|
|
</section>
|
|
</shop> |