A: For the difference between XML and HTML, please refer to:
http://www.w3c.org/MarkUp/
http://www.w3c.org/XML/
Extensible Markup Language (XML) provides a method to describe structured data. Unlike HTML tags that mainly control the display and appearance of data, XML tags are used to define the structure and data type of the data itself.
XML uses a set of tags to describe data elements. Each element encapsulates data that can be very simple or very complex. You can define an unlimited set of XML tags. For example, you can define some XML tags to declare data in an order, such as price, tax, shipping address, billing address, and more. Because XML tags are adopted throughout the unit and across units, data from a variety of different data storage areas will be easier to exchange and operate.
XML is a simple, platform-independent and widely adopted standard. The advantage of XML over HTML is that it separates the user interface from structured data. This separation of data from display makes it possible to integrate data from different sources. Customer information, orders, research results, bill payments, medical records, directory data and other information can all be converted into XML.
XML and HTML
Here are a few key points to remember about the relationship between XML and HTML:
a.. XML is not intended to replace HTML; in fact XML can be regarded as a supplement to HTML. The goal of XML and HTML is different: HTML is designed to display data and focus on the appearance of the data, while XML is designed to describe data and focus on the content of the data.
b.. Similar to HTML, XML does not perform any operations. While an XML tag can be used to describe the structure of items such as an order, it does not contain any code that can be used to send or process the order and to ensure delivery on that order. Others have to write code to actually perform these operations on XML-formatted data.
c.. Unlike HTML, XML tags are defined by the author of a schema or document and are unlimited. 3 pages in total Previous page 123 Next page