<?
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>Приложение 1</h3>
<h4>Пример XML-документа</h4>
<pre>
&lt;?xml version="1.0"?&gt;
&lt;journal&gt;
&lt;title&gt;Very Useful Journal&lt;/title&gt;
&lt;contacts&gt;
&lt;address&gt;sdsds&lt;/address&gt;
&lt;tel&gt;8-3232-121212&lt;/tel&gt;
&lt;tel&gt;8-3232-121212&lt;/tel&gt;
&lt;email&gt;j@j.ru&lt;/email&gt;
&lt;url&gt;www.j.ru&lt;/url&gt;
   &lt;/contacts&gt;
&lt;issues-list&gt;
&lt;issue index="2"&gt;
&lt;title&gt;XML today&lt;/title&gt;
&lt;date&gt;12.09.98&lt;/date&gt;
&lt;about&gt;XML&lt;/about&gt;
&lt;home-url&gt;www.j.ru/issues/&lt;/home-url&gt;
&lt;articles&gt;
            
&lt;article ID="3"&gt;
&lt;title&gt;Issue overview&lt;/title&gt;
&lt;url&gt;/article1&lt;/url&gt;
               
&lt;hotkeys&gt;
&lt;hotkey&gt;language&lt;/hotkey&gt;
&lt;hotkey&gt;marckup&lt;/hotkey&gt;
&lt;hotkey&gt;hypertext&lt;/hotkey&gt;
               &lt;/hotkeys&gt;
&lt;article-finished/&gt;
            &lt;/article&gt;
            
&lt;article&gt;
&lt;title&gt;Latest reviews&lt;/title&gt;
&lt;url&gt;/article2&lt;/url&gt;
&lt;author ID="3"/&gt;
&lt;hotkeys&gt;
&lt;hotkey/&gt;
               &lt;/hotkeys&gt;
            &lt;/article&gt;
            
&lt;article ID="4"&gt;
&lt;title/&gt;
&lt;url/&gt;
               
&lt;hotkeys/&gt;
            &lt;/article&gt;
         &lt;/articles&gt;
      &lt;/issue&gt;
   &lt;/issues-list&gt;
&lt;authors-list&gt;
      
&lt;author ID="1"&gt;
&lt;firstname&gt;Ivan&lt;/firstname&gt;
&lt;lastname&gt;Petrov&lt;/lastname&gt;
&lt;email&gt;vanya@r.ru&lt;/email&gt;
      &lt;/author&gt;
      
&lt;author ID="3"&gt;
&lt;firstname&gt;Petr&lt;/firstname&gt;
&lt;lastname&gt;Ivanov&lt;/lastname&gt;
&lt;email&gt;petr@r.ru&lt;/email&gt;
      &lt;/author&gt;
      
&lt;author ID="4"&gt;
&lt;firstname&gt;Sidor&lt;/firstname&gt;
&lt;lastname&gt;Sidorov&lt;/lastname&gt;
&lt;email&gt;sidor@r.ru&lt;/email&gt;
      &lt;/author&gt;
   &lt;/authors-list&gt;
&lt;/journal&gt;
</pre>
<p><center><p>
<font size=-1>
<a href="PART5.php">Назад</a> | <a href="index.php">Содержание</a> | <a href="APP2.php">Вперед</a></font></center></p>
<?
include_once '../../sys/inc/tfoot.php';
?>