<?
include_once '../../sys/inc/start.php';
include_once '../../sys/inc/compress.php';
include_once '../../sys/inc/sess.php';
include_once '../../sys/inc/home.php';
include_once '../../sys/inc/settings.php';
include_once '../../sys/inc/db_connect.php';
include_once '../../sys/inc/ipua.php';
include_once '../../sys/inc/fnc.php';
include_once '../../sys/inc/user.php';
$set['title']='Учебник XML';
include_once '../../sys/inc/thead.php';
title();
err();
//aut();
?>
<h3 align=center>Приложение 4</h3>
<h4>DTD-определения для XML-документа приложения 1</h4>
<pre>
&lt;!ENTITY % idattr 'id ID #IMPLIED'gt;
&lt;!ENTITY % opt 'title?,date,about'gt;
&lt;!ENTITY % cont 'tel*,url*,email*'gt;
&lt;!element title (PCDATA)?gt;
&lt;!element firstname (PCDATA)?gt;
&lt;!element lastname (PCDATA)?gt;
&lt;!element email (PCDATA)?gt;
&lt;!element url (PCDATA)?gt;
&lt;!element tel (PCDATA)?gt;
&lt;!element address (PCDATA)?gt;
&lt;!element fax (PCDATA)?gt;
&lt;!element date (PCDATA)?gt;
&lt;!element home-url (PCDATA)?gt;
&lt;!element article-url (PCDATA)?gt;
&lt;!element hotkey (PCDATA)? gt;
&lt;!element article-finished EMPTYgt;
&lt;!element contents ANYgt;
&lt;!element hotkeys (PCDATA|hotkey)? gt;
&lt;!element author (PCDATA|firstname?,lastname?,%cont;) gt;
&lt;!attlist author %idattr;gt;
&lt;!element authors (PCDATA|author*)? gt;
&lt;!element article (%opt;,author,article-url,hotkeys*,contents*,article-finished) gt;
&lt;!attlist article %idattr;gt;
&lt;!element articles (article)? gt;
&lt;!element issue (%opt;,home-url?,articles*) gt;
&lt;!attlist issue %idattr; index CDATA #REQUIRED gt;
&lt;!element issues-list (PCDATA|issue*)* gt;
&lt;!element contacts (address,%cont;)gt;
&lt;!element journal (title?,contacts?,isues-list,authors-list)gt;
&lt;!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>
<?
include_once '../../sys/inc/tfoot.php';
?>