---
language: xml
filename: learnxml.xml
contributors:
  - ["João Farias", "https://github.com/JoaoGFarias"]
  - ["Rachel Stiyer", "https://github.com/rstiyer"]
---
XML is a markup language designed to store and transport data.
Unlike HTML, XML does not specify how to display or to format data, it just carries it.
* XML Syntax
```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
An XML document is well-formatted 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.
An XML document which follows a document definition is called valid,
in regards to that document.
With this tool, you can check the XML data outside the application logic.
```xml
  
    Everyday Italian
    30.00
  
]>
]>
  
    Everyday Italian
    30.00
  
```