0% found this document useful (0 votes)
11 views2 pages

O An XML Document Has A Self Descriptive Structure. It Forms A Tree Structure Which

Uploaded by

kngb145
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views2 pages

O An XML Document Has A Self Descriptive Structure. It Forms A Tree Structure Which

Uploaded by

kngb145
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

XML

 XML is designed to carry the data, not to display the data.


 In this there is no predefined tags we can create our own tags.
 XML stands for eXtensible Markup Language.
 XML was designed to be both human- and machine-readable.

 what can we use xml for?


o The main benefit of xml is that you can use it to take data from a program like
Microsoft SQL, convert it into XML then share that XML with other programs and
platforms. You can communicate between two platforms which are generally very
difficult
o The main thing which makes XML truly powerful is its international acceptance.
Many corporation use XML interfaces for databases, programming, office application
mobile phones and more. It is due to its platform independent feature.
 XML Tree:
o An XML document has a self descriptive structure. It forms a tree structure which
is referred as an XML tree. The tree structure makes easy to describe an XML
document.
o A tree structure contains root element (as parent), child element and so on. It is
very easy to traverse all succeeding branches and sub-branches and leaf nodes
starting from the root.

 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.

You might also like