Here one of the XML files used in this tutorial is shown starting with the XML declaration and followed by the XML tree. The xml syntax is very strict and unlike html is case sensitive. An opening tag (for example ) must be followed by a closing tag ( ).
<?xml version="1.0"?>
age: 21
eye color: dark blue
hair color: blond
height: 179 cm
weight: 185 pounds
age: 30
eye color: black
hair color: dark brown
height: 170 cm
weight: 145 pounds
age: 25
eye color: green
hair color: black
height: 163 cm
weight: 125 pounds
You should always test if your file has the correct syntax by opening it in your browser window. A correct file will show up like this.
An incorrect file will be detected by the browser and give you a false statement. I put a file in the file collection, which has one mistake (fmodels_false.xml).