view dtd/news.dtd @ 108:72524ae53106

Explicitly marked directives with the block syntax. Such directives will have curly braces around their syntax and defaults appear automatically. Other directives will have a semicolon after their syntax and defaults.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 20 Oct 2011 07:47:21 +0000
parents 2bf4cd2787c5
children 7db449e89e92
line wrap: on
line source

<!ELEMENT  news         (event+) >
<!ATTLIST  news
           title        CDATA #REQUIRED
           link         CDATA #REQUIRED
           lang         CDATA #REQUIRED
>

<!ELEMENT  event        (para+) >
<!ATTLIST  event
           date         CDATA #REQUIRED
>

<!ENTITY % content      SYSTEM  "content.dtd" >
          %content;