What is XML ?

Extensible Markup Language ( XML ) is a data exchange format widely used in internet.

Main Uses: For exchange of data across different platforms , networks in internet. ( It became a standard of interchanging data in internet )

Main Advantages of XML ( Why it is so popular )

Data is stored in plain text
Tags are defined by user
Here is a sample XML file structure


xml page structure

Features of XML language

Open standard: We can use XML without purchasing or using any particular vendor software.
Web enabled : As prime purpose is to exchange data so it can be included in our HTML pages.
Structured : Users can define their own tags and add data to create a structured language.
Platform independent : We can run XML in any type of server with different operating system.
Language Support : All programming languages operating at different servers can handle XML data. They can receive or output XML structured data to user or to other servers.
Extensible: We can define our own tags and use them as and when required.

HTML & XML ( main difference )

Users canít define HTML tags as there are pre defined tags available and they are only to be used. In XML users can define their own tags.

HTML is not case sensitive
XML is case sensitive

It is not mandatory to close each and every tag in HTML
It is mandatory to close each and every tag. in XML


With this we will learn more on elements, tags, child node, parent node etc on next Section.

Sample XML file

XML file structure and elements

Your Rating




Google+

Post Comment This is for short comments only. Use the forum for more discussions.




HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us
©2000-2018 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer