Unlike
HTML, XML tags are case sensitive. Opening and closing tags must
therefore be written with the same case:
All XML elements must be properly nested
In HTML some elements can be improperly nested within each other like
this:
<b><i>This text is bold and italic</b></i>
All XML documents must have a root element
All XML documents must contain a single tag pair to define a root
element.
All other elements must be within this root element.
All
elements can have sub elements (child elements). Sub elements must be
correctly nested within their parent element:
<root>
<child>
<subchild>.....</subchild>
</child>
</root>
Attribute values must always be quoted
Go To Index
|