Приложение 1

Пример XML-документа

<?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>
 


Яндекс цитирования