Файл: ycheb/xml_teach/APP4.php
Строк: 52
<?php
include '../../config.php';
$title='Учебник XML';
aut();
head();
?>
<h3 align=center>Приложение 4</h3>
<h4>DTD-определения для XML-документа приложения 1</h4>
<pre>
<!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;
</pre>
<p><center><p>
<font size=-1>
<a href="APP3.php">Назад</a> | <a href="index.php">Содержание</a></font></center></p>
</body></html>
<?php
echo gb.'<a href="../../ycheb">Учебники</a>'.div;
echo gb.'<a href="'.H.'enter">Прихожая</a>'.div;
foot(); ?>