Файл: ycheb/xml_teach/APP1.php
Строк: 35
<?php
include '../../config.php';
$title='Учебник XML';
aut();
head();
?>
<h3 align=center>Приложение 1</h3>
<h4>Пример XML-документа</h4>
<pre>
<?xml version="1.0"?>
<journal>
<title>Very Useful Journal</title>
<contacts>
<address>sdsds</address>
<tel>8-3232-121212</tel>
<tel>8-3232-121212</tel>
<email>j@j.ru</email>
<url>www.j.ru</url>
</contacts>
<issues-list>
<issue index="2">
<title>XML today</title>
<date>12.09.98</date>
<about>XML</about>
<home-url>www.j.ru/issues/</home-url>
<articles>
<article ID="3">
<title>Issue overview</title>
<url>/article1</url>
<hotkeys>
<hotkey>language</hotkey>
<hotkey>marckup</hotkey>
<hotkey>hypertext</hotkey>
</hotkeys>
<article-finished/>
</article>
<article>
<title>Latest reviews</title>
<url>/article2</url>
<author ID="3"/>
<hotkeys>
<hotkey/>
</hotkeys>
</article>
<article ID="4">
<title/>
<url/>
<hotkeys/>
</article>
</articles>
</issue>
</issues-list>
<authors-list>
<author ID="1">
<firstname>Ivan</firstname>
<lastname>Petrov</lastname>
<email>vanya@r.ru</email>
</author>
<author ID="3">
<firstname>Petr</firstname>
<lastname>Ivanov</lastname>
<email>petr@r.ru</email>
</author>
<author ID="4">
<firstname>Sidor</firstname>
<lastname>Sidorov</lastname>
<email>sidor@r.ru</email>
</author>
</authors-list>
</journal>
</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>
<?php
echo gb.'<a href="../../ycheb">Учебники</a>'.div;
echo gb.'<a href="'.H.'enter">Прихожая</a>'.div;
foot(); ?>