XML Basics

Need For XML

Organizations keeps data in disparate formats. This makes the process of data interchange complex and time consuming. Following are some limitations of traditional documents,

High Cost,
Limitation for fixed business rules,
No fixed standard.

To overcome this problem organizations uses new language called as XML.XML is Extensible Markup Language that can display data in standard and self describing format.

Introducing XML

XML is text-based markup language that enables you to store data in structured format by using meaningful tags. The term extensible means to extend your ability to describe document by defining meaningful tags for your application.
The advantage of XML lies in Web architecture is that structure of request is obtained from server at run time. XML can encode non relational as well as relational data structures. This enables the server application to extract data from datasource.

Advantages of XML

Domain specific Vocabulary
Data Interchange
Smart searches
User selected view of data
Message transformation.

Applications of XML

B2B communication
Used in Mobile devices
Interoperability between disparate application.


Author: satyajee srivastava22 Dec 2010 Member Level: Silver   Points : 1

XML stands for Extensible Markup Language (XML) An open standard for describing data from the W3C. It is used for defining data elements on a Web page and business-to-business documents. XML uses a similar tag structure as HTML; however, whereas HTML defines how elements are displayed, XML defines what those elements contain.
Features :
* XML is a markup language much like HTML.
* XML was designed to describe data.
* XML tags are not predefined in XML. You must define your own tags.
* XML is self describing.
* XML uses a DTD (Document Type Definition) to formally describe the data.

XML Declaration
XML documents may begin by declaring some information about themselves, as in the following example.

For more information Visit:-

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: