Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0"?>
- <!DOCTYPE shop [
- <!ELEMENT shop (section+)>
- <!ELEMENT section (shelf+)>
- <!ELEMENT shelf (product*)>
- <!ELEMENT product (name, price)>
- <!ELEMENT price (#PCDATA)>
- <!ELEMENT name (#PCDATA)>
- <!ATTLIST section domain CDATA #REQUIRED>
- <!ATTLIST shelf domain CDATA #REQUIRED>
- ]>
- <shop>
- <section domain="Spożywcze">
- <shelf domain="Nabiał" >
- <product>
- <name>Mleko</name>
- <price>1,89PLN</price>
- </product>
- <product>
- <name>Masło</name>
- <price>5,79 zł</price>
- </product>
- </shelf>
- <shelf domain="Pieczywo">
- <product>
- <name>Chleb</name>
- <price>2,99 zł</price>
- </product>
- <product>
- <name>Bułka</name>
- <price>0,59 zł</price>
- </product>
- </shelf>
- <shelf domain="Słodycze">
- <product>
- <name>Cukierki</name>
- <price>7,99 zł</price>
- </product>
- <product>
- <name>Czekolada</name>
- <price>3,99 zł</price>
- </product>
- </shelf>
- </section>
- <section domain="Artykuły biurowe">
- <shelf domain="Zeszyty">
- <product>
- <name>Zeszyt A5</name>
- <price>2,99 zł</price>
- </product>
- <product>
- <name>Zeszyt A4</name>
- <price>3,99 zł</price>
- </product>
- </shelf>
- <shelf domain="Przybory">
- <product>
- <name>Długopis</name>
- <price>3,50 zł</price>
- </product>
- <product>
- <name>Ołówek</name>
- <price>1,99 zł</price>
- </product>
- </shelf>
- </section>
- <section domain="Odzież">
- <shelf domain="Męska">
- <product>
- <name>Koszulka T-shirt</name>
- <price>30,00 zł</price>
- </product>
- <product>
- <name>Spodnie</name>
- <price>50,00 zł</price>
- </product>
- </shelf>
- <shelf domain="Damska">
- <product>
- <name>Sukienka</name>
- <price>30,00 zł</price>
- </product>
- </shelf>
- </section>
- <section domain="RTV/ADG">
- <shelf domain="RTV">
- <product>
- <name>Telewizor</name>
- <price>5,000 zł</price>
- </product>
- </shelf>
- <shelf domain="AGD">
- <product>
- <name>Odkurzacz</name>
- <price>300,00 zł</price>
- </product>
- </shelf>
- </section>
- </shop>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement