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,
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.
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
User selected view of data
Applications of XML
Used in Mobile devices
Interoperability between disparate application.
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.
* 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 documents may begin by declaring some information about themselves, as in the following example.
For more information Visit:-