Follow these syntax rules when creating an XML document:
-
Root element contains all other elements
-
Elements and subelements are properly nested:
-
<A><B></B></A> not <A><B></A></B>
-
All elements have start and close tags:
-
<object>Router</object> as opposed to <object>Router
-
Start and close tags should match cases:
-
<B>word</B> not <B>word</b>
-
Attribute declaration values should be in single or double quotes:
-
<attribute name="Customer 1"> not
-
<attribute name=Customer 1>