[This local archive copy is from the official and canonical URL, http://www.oasis-open.org/html/goldfarb.htm, 19990406; please refer to the canonical source document if possible.]


OASIS - Organization for the Advancement of Structured Information Standards

Members Only

OASIS Committees

 

Docbook

 

CGM Open

ROBIN COVERíS SGML/XML PAGES

XML in an Instant:
A Non-geeky Introduction

Charles F. Goldfarb

By now, everyone familiar with the World Wide Web knows that it is undergoing a radical change that is introducing wonderful services for users and amazing new opportunities for Web site developers and businesses.

HTML -- the HyperText Markup Language -- made the Web the world's library. Now its sibling, XML -- the Extensible Markup Language -- is making the Web the world's commercial and financial hub.

In the process, the Web is becoming much more than a static library. Increasingly, users are accessing the Web for "Web pages" that aren't actually on the shelves. Instead, the pages are generated dynamically from information available to the Web server. That information can come from data bases on the Web server, from the site owner's enterprise data bases, or even from other Web sites.

And that dynamic information needn't be served up raw. It can be analyzed, extracted, sorted, styled, and customized to create a personalized Web experience for the end-user. For this kind of power and flexibility, XML is the markup language of choice.

You can see why by comparing XML and HTML. Both are based on SGML -- the International Standard for structured information -- but look at the difference:

In HTML:

    <p>P266 Laptop
    <br>Friendly Computer Shop
    <br>$1438
     

In XML:

    <product>
    <model>P266 Laptop
    <dealer>Friendly Computer Shop
    <price>$1438
    </product>
     

Both of these may look the same in your browser, but the XML data is smart data. HTML tells how the data should look, but XML tells you what it means.

With XML, your browser knows there is a product, and it knows the model, dealer, and price. From a group of these it can show you the cheapest product or closest dealer without going back to the server.

Unlike HTML, with XML you create your own tags, so they describe exactly what you need to know. Because of that, your client-side applications can access data sources anywhere on the Web, in any format. New "middle-tier" servers sit between the data sources and the client, translating everything into your own task-specific XML.

But XML data isn't just smart data, it's also a smart document. That means when you display the information, the model name can be a different font from the dealer name, and the lowest price can be highlighted in green. Unlike HTML, where text is just text to be rendered in a uniform way, with XML text is smart, so it can control the rendition.

And you don't have to decide whether your information is data or documents; in XML, it is always both at once. You can do data processing or document processing or both at the same time.

With that kind of flexibility, it's no wonder that we're starting to see a Brave New Web of smart, structured information. Your broker sends your account data to Quicken using XML. Your channel subscriptions are in XML. Everything from math to multimedia, chemistry to commerce, is using XML or is preparing to start.

OASIS members have long experience with markup languages. They can help you get started too.

(C)1999 Charles F. Goldfarb

OASIS - Main / Library / whitepapers / XML in an instant

OASIS Webmaster

OASIS

About Us

Library

Calendar

Site Map

Members

News