XML Tutorials

Please Share This Article with Friends

What is XML?

  • XML is the eXtensible Markup Language
  • XML is for creating the user defined tags but it is impossbile in HTML.
  • XML is a markup language.
  • Most of the XML rules are simmilar to HTML
  • XML was designed to store data intelligently especially very usefull form maintiaing the data ontologies.
  • XML was designed to transport data.
  • XML is a W3C Recommendation.

Example:

<book>
  <title>Book On XML</title>
  <author>Sameed</author>
  <publisher>T4</publisher>
</book>

Here in example 1, all tags are user defined tags. These tags are self created only to give data a meaning. Now this data is more understandable for machine.

Now machine and human both can understand easily that

  • “Book On XML” is the name of a book.
  • “Sameed” is  name of the author
  • “T4” is name of the publisher.

What is the ifference between XML and HTML?

XMLHTML
eXtensible Markup LanguageHypertext Markup Language
Carry dataDisplay data
Tags are not predefinedTags are predefined
 More helpful in ontologiesLess helpful in ontologies

 

 

 

 

 

 

 

Fazal Rehman Shamil
Welcome to all friends. The reason for our success is only your love for T4Tutorials. Our team is always available to answer your queries regarding any kind of confusions or discussion regarding your study and career matters. For discussion with us please join our facebook group "T4Tutorials.com". The link of the group is mentioned below. Thanks and love to all for connecting with us. We are nothing without you. Love you all.....
https://web.facebook.com/groups/2066136233601097/