Mercurial > hg > nginx-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
74:e9948ec6286b | 75:2bf4cd2787c5 |
---|---|
1 <!ELEMENT digest (title, news+) > | 1 <!ELEMENT news (event+) > |
2 <!ATTLIST news | |
3 title CDATA #REQUIRED | |
4 link CDATA #REQUIRED | |
5 lang CDATA #REQUIRED | |
6 > | |
2 | 7 |
3 <!ELEMENT news (para+) > | 8 <!ELEMENT event (para+) > |
4 <!ATTLIST news date CDATA #REQUIRED > | 9 <!ATTLIST event |
10 date CDATA #REQUIRED | |
11 > | |
5 | 12 |
6 <!ENTITY % content SYSTEM "content.dtd" > | 13 <!ENTITY % content SYSTEM "content.dtd" > |
7 %content; | 14 %content; |