what is XML?

Answer Posted / sarankumarreddy.c

XML(Extensible Markup Langauge)is all about describing
data.An XML tag is not something predefined but it is
something you have to define according to your needs.Below
is a XML which describes invoice data.
<?XML version="1.0" encoding="ISO-8859-1"?>
<student>
<studentnumber>111</studentnumber>
<studentname>SaranKumarReddy.C</studentname>
<totalmarks>790</totalmarks>
<average>79</average>
</student>

For instance in the above example of student all tags are
defined according to student needs.The XML document is self
explanatory,any one can easily understand looking at the
XML data what exactly it means.

In the above example <student></student> tag is the root
element.Root element is the top most elements for a XML.

XML is case sensitive.
Eg: <student> tag is not same as <Student> tag.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is xml and its features?

538


What is xml file in asp net?

580


Is xpath a programming language?

571


What is xmlns in xml?

563


Can you explain why your project needed xml? Or why you have chosen xml.

533






Use of CSS in XML document?

604


How you define template in xslt? : xslt

556


Write a program to show the purpose of literal result element?

569


Explain about the actor element?

593


What are the two types of xml parsers?

623


When should I use a cdata marked section?

708


Can you execute a xml?

535


What is the difference between xml and xlsx?

529


What is the function of xsl?

609


What are the different xslt elements?

531