XML has revolutionized the way data is exchanged. Being light weight and platform independent, XML helps internet applications to share data efficiently and faster.
Everywhere in web we hear about XML. It has become such a popular language, which made the information exchange the easiest and productive way possible. The use of XML or Extensible Markup Language is almost everywhere on the web. This language is a remarkable one and can transfer huge amount of data in less time. It can be easily implemented and programmed using any programming language.
The following is a simple xml where address data can be found.
<?xml version=”1.0″?> <address>
<name>Robert</name> <country>USA</country> </address>
How it works
An XML file can be defined according to specific requirement. It follows the same structure and data is identified by nodes. There are nodes and child nodes to represent data hierarchy. In the above example, <address> is a node and <country> is a child node. Using a programming language each node can be parsed to extract data. This is known as XML parsing.
XML is used to accomplish a wide variety of activities. Apart from just being a data exchange language it is used to manage a whole program by passing parameters through an XML file. Keeping an XML file for specifiying different attributes is an effective way to modify a program without even changing the code. A flash file can parse an XML file to dynamically display the content of XML file after formatting it. This makes it easy to modify the content of the flash interface by just changing the content of XML file. Web services uses XML for sharing data between different applications using SOAP protocol.












Leave Your Response