As any XML validator will quickly tell you, your sample is not XML. It kind of looks like XML but it has numerous errors.

http://www.xmlvalidation.com/
http://www.validome.org/xml/
http://www.w3schools.com/xml/xml_validator.asp