There are some rules you should keep in mind:
•An xml file can only have one root element. The only exception is the declaration node at the top
•An xml file should contain a declaration-node at top to specify the character encoding
•Element or attribute names mustn't contain spaces
•Attributes are seperated with spaces
•In most cases the attribute value should be placed in parenthesis.
•Every element that have been opened have to be closed. Single/empty elements don't need to be closed since they don't have a body section.
•The body of an element can contain other elements or just text (which counts as textelement)
•if you want to store text with sensitive characters like "" they have to be stored inside a CDATA element.
•A CDATA element looks like: