Add DTD to biblioteca.xml

This commit is contained in:
Nicolás A. Ortega Froysa 2022-01-25 17:46:42 +01:00
parent 1bd8040f3d
commit 8371a5f8af
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,6 @@
<!ELEMENT library (book+)>
<!ELEMENT book (title,author,lang,year)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT author (#PCDATA)>
<!ELEMENT lang (#PCDATA)>
<!ELEMENT year (#PCDATA)>

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet href="style.css" type="text/css"?> <?xml-stylesheet href="style.css" type="text/css"?>
<!DOCTYPE library SYSTEM "biblioteca.dtd">
<library> <library>
<book> <book>
<title>Ishmael</title> <title>Ishmael</title>