This commit is contained in:
happy531 2021-01-28 19:48:50 +01:00
parent a634a6da6d
commit fe4f96b4fc

24
zajecia5.txt Normal file
View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<!DOCTYPE shop [
<!ELEMENT shop (section+)>
<!ELEMENT section (shelf+)>
<!ATTLIST section product_type CDATA #REQUIRED>
<!ELEMENT shelf (#PCDATA)>
]>
<shop>
<section product_type="food">
<shelf>beef</shelf>
<shelf>eggs</shelf>
</section>
<section product_type="stationery">
<shelf>printer</shelf>
<shelf>ink</shelf>
</section>
<section product_type="clothing">
<shelf>t-shirts</shelf>
<shelf>hats</shelf>
</section>
</shop>