diff dtd/menu.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 be54c443235a
line wrap: on
line diff
--- a/dtd/menu.dtd	Mon Oct 10 09:39:11 2011 +0000
+++ b/dtd/menu.dtd	Mon Oct 10 14:47:09 2011 +0000
@@ -0,0 +1,13 @@
+<!ELEMENT  menus        (menu+) >
+
+<!ELEMENT  menu         (item+) >
+<!ATTLIST  menu
+           lang         CDATA #REQUIRED
+>
+
+<!ELEMENT  item         (#PCDATA) >
+<!ATTLIST  item
+           href         CDATA #IMPLIED
+           lang         CDATA #IMPLIED
+           year         CDATA #IMPLIED
+>