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 the difference between wsdl and soap?

632


Do rss feeds help seo?

591


What are the different kinds of tags available in XML?

671


Why is dtd important?

598


Does xml support user-defined tags?

655






How can name conflicts be avoided in xml?

613


What is xsl used for?

624


What is schemalocation in xml?

605


What is an xml schema used for?

655


What is dtd example?

663


How is xsl different from css?

585


Is xslt a programming language?

590


Explain about the role of xml in soap?

634


How does xslt transform xml?

600


How do I use the default xml namespace to refer to attribute names in an xml namespace?

641