Mercurial > hg > nginx-site
diff dtd/news.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/news.dtd Mon Oct 10 09:39:11 2011 +0000 +++ b/dtd/news.dtd Mon Oct 10 14:47:09 2011 +0000 @@ -1,7 +1,14 @@ -<!ELEMENT digest (title, news+) > +<!ELEMENT news (event+) > +<!ATTLIST news + title CDATA #REQUIRED + link CDATA #REQUIRED + lang CDATA #REQUIRED +> -<!ELEMENT news (para+) > -<!ATTLIST news date CDATA #REQUIRED > +<!ELEMENT event (para+) > +<!ATTLIST event + date CDATA #REQUIRED +> <!ENTITY % content SYSTEM "content.dtd" > %content;