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