Now in XML Tutorial we will learn that
XML tags are extensible and they have standard way to use these tags.
XML tags have simple naming rules. XML document can be extend as the data
For more explanation follow the below example.
XML Tags Example
Assume that in an organization number of employees are working and we need to
show there data in XML then first of all we need to define the structure of the
XML Document. For example.
Structure of an XML Document
that in above example we define an extra tag as <globalGuideLine> and close it also
proper as we opened it here we repeat the <employee> tag as we need the records
of employees at Global Guide Line. So the tags and structure is not
predefined here we just need to follow the standards of XML. And the next
need is to develop some kind of application or software that can display the XML
data in well organized form as shown in below.
Global Guide Line Employees Information.
First Name : Creston
Last Name : Narvon
Date of Birth : 22/04/1976
Gender : Male
and so on...
Observe that all the XML tags are related to each other and no irrelative tag is
used here. So the XML tags will be similar to each other and showing a
keen relation ship among them.
So the conclusion is this that no strict role is to define XML Tags, we
learned in this section of XML Tutorila. Just
follow the conventions of XML like close each tag properly and XML proper syntax
will lean in next lesson, it is case sensitive so when ever w open an XML tag
close it as it was opened. Details of XML tags conventions we can see in
section of our XML Tutorial.