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

How do I set up google rss feed?

454


What are the limitations of dtd?

474


What are the main differences between atom 1.0 and rss 2.0?

463


What is minoccurs 0 in xsd?

469


How do I convert an xml file to excel?

530






What is the use of xslt element?

441


How do I create an xml schema?

462


Does it cost money to host a podcast?

451


What is an rss subscription?

464


What is difference between internal and external dtd?

472


What is an xml namespace?

510


Can word open xml files?

462


How do I open an xml file?

408


Which is better xml or html?

445


Is xml html?

476