XML definition – XML is text-based markup language that enables you to store data in a structured format using meaningful tags. The term “extensible” implies that you can extend your ability to describe a document by defending meaningful tags for your application.XML is a cross-platform, hardware and software independent markup language. It enables the computers to transfer enables data between heterogeneous systems.XML is used as a common data interchange Format in a number of applications. In the example of the B2B e-commerce model, XML can be used to exchange data between the trading partners, thus eliminating the problems faced by EDI.
Web architecture using XML
In a traditional wave architecture, a client sends to the request to the server in a predefined format and receive the appropriate response. The advantage of using XML in the web architecture is that the architecture is that the structure of the request can be obtained from the server at run-time. This is possible because the data stored in an XML document does not assume it intended use . Different application can extract data according to their customized needs. Since XML is used to interchange data between various web applications, the coupling between the server application and the client application is relatively loose.
XML can encoded non-relational data, as well as, relational data structures. This enables the server application to extract data from any data source, and helps the programmers to quickly build applications for the manipulation of that data.
Difference between SGML, HTML and XML
In addition to XML, markup language such as Standard Generalized Markup Language (SGML) and Hypertext Markup Language (HTML) are also available.
SGML was released in 1980.It allows documents to describe their grammar by specifying the tag set used in the document and the structural relationship that these tags represent.
This makes it possible to define individual formats for documents, handle large and complex documents, and manage large information repositories. However, SGML is complex and difficult for developers to master.
HTML was created by Tim Berners in 1989 as a simple and effective way of generating clear and readable documents. HTML enables you to create documents and web pages that can be read by all web browsers . It uses a set of tags in conformance with SGML specification.
The World Wide Web consortium (W3C) developed XML to enable the expansion of web technologies into the new domains of document processing and data interchange.XML is a subset of SGML. It is designed to ease the data exchange over the Internet. Though HTML and XML are markup languages, they have different purposes.HTML is used for data presentation, whereas XML is used for data discretion and definition.
Features of XML
XML have revolutionized the web and the nature of distributed computing. It is the perfect file format our web development, Document interchange, and data interchange. Currently the news organizations and Wireless Service exchange news articles, stock information, and other similar information in future.
XML will enable wider use and exchange of such information in future. XML will also help global businesses exchange data in a customized and universally acceptable format.
The feature uses of XML can be summarized as:
- A) XML will be widely used in e-commerce.
- B) XML will have huge core market in the form of B2B.
- C) XML will be used for mobile devices, such as mobile phones, PDAs, and palmtop due to its ability to easily convert into the appropriate format for any device.
- D) XML will be used to solve communication problems in EDI and Enterprise Application Integration (EAI) as it provides interoperability between them disparate applications.