There are the basic rules for writing the XML:
All XML should have a root element
All tags should be closed
XML tags are case sensitive
All tags should be nested properly
Tag names cannot contain spaces
Attribute value should appear within quotes
White space is preserved