diff dtd/article.dtd @ 75:2bf4cd2787c5

Added DTDs to make xmllint happy. Note that these DTDs don't try to be actually correct: possible element contents require cleanup. This is enough to pass all documents through xmllint though.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 10 Oct 2011 14:47:09 +0000
parents 61e04fc01027
children 7db449e89e92
line wrap: on
line diff
--- a/dtd/article.dtd	Mon Oct 10 09:39:11 2011 +0000
+++ b/dtd/article.dtd	Mon Oct 10 14:47:09 2011 +0000
@@ -1,7 +1,12 @@
-<!ELEMENT  digest       (title, article+) >
-
-<!ELEMENT  article      (para+) >
-<!ATTLIST  article      date CDATA #REQUIRED >
+<!ELEMENT  article      (section+) >
+<!ATTLIST  article
+           title        CDATA #REQUIRED
+           link         CDATA #REQUIRED
+           lang         CDATA #REQUIRED
+           author       CDATA #IMPLIED
+           editor       CDATA #IMPLIED
+           translator   CDATA #IMPLIED
+>
 
 <!ENTITY % content      SYSTEM  "content.dtd" >
           %content;