O An XML Document Has A Self Descriptive Structure. It Forms A Tree Structure Which
O An XML Document Has A Self Descriptive Structure. It Forms A Tree Structure Which
XML Validation:
XML Syntax:
o The syntax rules of XML are very simple and logical. The rules are easy to learn,
and easy to use.
o XML documents must contain one root element that is the parent of all other
elements, here the note is Root element
Example:
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
XMS Schema (XSD):
o XSD stands for XML Schema Definition.
o XSDs are written in XML.
o XSD supports datatypes for elements and attributes.
o XSD supports namespace.
o XSD provides more control on XML structure.