Приложение 4

DTD-определения для XML-документа приложения 1

<!ENTITY % idattr 'id ID #IMPLIED'gt;
<!ENTITY % opt 'title?,date,about'gt;
<!ENTITY % cont 'tel*,url*,email*'gt;
<!element title (PCDATA)?gt;
<!element firstname (PCDATA)?gt;
<!element lastname (PCDATA)?gt;
<!element email (PCDATA)?gt;
<!element url (PCDATA)?gt;
<!element tel (PCDATA)?gt;
<!element address (PCDATA)?gt;
<!element fax (PCDATA)?gt;
<!element date (PCDATA)?gt;
<!element home-url (PCDATA)?gt;
<!element article-url (PCDATA)?gt;
<!element hotkey (PCDATA)? gt;
<!element article-finished EMPTYgt;
<!element contents ANYgt;
<!element hotkeys (PCDATA|hotkey)? gt;
<!element author 
(PCDATA|firstname?,lastname?,%cont;) gt;
<!attlist author %idattr;gt;
<!element authors (PCDATA|author*)? gt;
<!element article (%opt;,author,article-url,hotkeys*,
contents*,article-finished) gt;
<!attlist article %idattr;gt;
<!element articles (article)? gt;
<!element issue (%opt;,home-url?,articles*) gt;
<!attlist issue %idattr; index CDATA #REQUIRED gt;
<!element issues-list (PCDATA|issue*)* gt;
<!element contacts (address,%cont;)gt;
<!element journal (title?,contacts?,isues-list,
authors-list)gt;
<!attlist journal %idattr; src CDATA #IMPLIED gt;

Назад | Содержание



Hosted by uCoz