---
language: xml
filename: learnxml-ru.xml
contributors:
- ["João Farias", "https://github.com/JoaoGFarias"]
translators:
- ["Dmitry Bessonov", "https://github.com/TheDmitry"]
lang: ru-ru
---
XML - это язык разметки, предназначеный для хранения и передачи данных.
В отличие от HTML, XML не определяет, как отображать или формировать данные, он только содержит их.
* XML Синтаксис
```xml
Everyday Italian
Giada De Laurentiis
2005
30.00
Harry Potter
J K. Rowling
2005
29.99
Learning XML
Erik T. Ray
2003
39.95
computer.gif
```
* Well-Formated Document x Validation
A XML document is well-formated if it is syntactically correct.
However, it is possible to inject more constraints in the document,
using document definitions, such as DTD and XML Schema.
A XML document which follows a document definition is called valid,
regarding that document.
With this tool, you can check the XML data outside the application logic.
```xml
Everyday Italian
30.00
]>
]>
Everyday Italian
30.00
```