February 19, 1999
A B C D E F G H I J K L M N O P Q R S T U V W | X | Y Z |
As a universal data format, XML provides a standard for the server-to-server transfer of different types of structured data so that the information can be decoded, manipulated, and displayed consistently and correctly. In addition, it enables the development of three-tier Web applications, acting as the data transfer format between the middle-tier Web server and the client.
In the case of XML, schemas define the characteristics of the XML document. In this sense, they are similar in functionality to DTDs. However, unlike DTDs, the schemas described in the XML-Data submission allow for data-types and inheritance. In addition, because these schemas are written in XML, they are easily extensible.
There are two main contexts for datatypes. The first occurs when dealing with database application-programming interfaces (APIs) in which all elements with the same name typically contain the same type of contents. For example, all sizes contain integers. The second context occurs when the type of content varies widely from instance to instance. The frequency and flexibility of this context varies according to the software being created. For instance, size could contain the integer 6, or the word "small," or even a formula for computing the size.
Using XSL, an element can be formatted and displayed in multiple places on a Web page, or rearranged or removed from the page. Developers can then generate a presentation structure that may be quite different from the original data structure. XSL does not replace Cascading Style Sheets (CSS); rather, it is designed to handle the new capabilities of XML that CSS cannot. Although CSS can be used to display simple XML data, CSS is not general enough to handle all of the possibilities generated by XML; the syntax of XSL can.
Photo Credits: PhotoDisc