Piata Praca Domowa cz.1
This commit is contained in:
parent
05afc88107
commit
4533c50344
34
biblioteka_xml.txt
Normal file
34
biblioteka_xml.txt
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE library
|
||||||
|
[
|
||||||
|
<!ELEMENT library (storage+)>
|
||||||
|
<!ELEMENT storage (shelf+)>
|
||||||
|
<!ATTLIST shelf domain CDATA #REQUIRED>
|
||||||
|
<!ELEMENT shelf (book*, magazine*)>
|
||||||
|
<!ELEMENT book (title, author)>
|
||||||
|
<!ELEMENT magazine (title, author)>
|
||||||
|
<!ELEMENT title (#PCDATA)>
|
||||||
|
<!ELEMENT author (#PCDATA)>
|
||||||
|
]>
|
||||||
|
|
||||||
|
<library>
|
||||||
|
<storage>
|
||||||
|
<shelf domain="Test">
|
||||||
|
<book>
|
||||||
|
<title> Test </title>
|
||||||
|
<author> Test Test </author>
|
||||||
|
</book>
|
||||||
|
|
||||||
|
<book>
|
||||||
|
<title> Test1 </title>
|
||||||
|
<author> Test Test </author>
|
||||||
|
</book>
|
||||||
|
|
||||||
|
<book>
|
||||||
|
<title> Test2 </title>
|
||||||
|
<author> Test Test </author>
|
||||||
|
</book>
|
||||||
|
</shelf>
|
||||||
|
</storage>
|
||||||
|
|
||||||
|
</library>
|
Loading…
Reference in New Issue
Block a user