ad info

 
CNN.com  technology > computing
    Editions | myCNN | Video | Audio | Headline News Brief | Feedback  

 

  Search
 
 

 
TECHNOLOGY
TOP STORIES

Consumer group: Online privacy protections fall short

Guide to a wired Super Bowl

Debate opens on making e-commerce law consistent

(MORE)

TOP STORIES

More than 11,000 killed in India quake

Mideast negotiators want to continue talks after Israeli elections

(MORE)

MARKETS
4:30pm ET, 4/16
144.70
8257.60
3.71
1394.72
10.90
879.91
 


WORLD

U.S.

POLITICS

LAW

ENTERTAINMENT

HEALTH

TRAVEL

FOOD

ARTS & STYLE



(MORE HEADLINES)
*
 
CNN Websites
Networks image


How XML enables dynamic content

Network World Fusion

March 14, 2000
Web posted at: 8:16 a.m. EST (1316 GMT)

(IDG) -- Almost every Web site offers some form of dynamic content. Whether it's stock quotes, personalized account information or movie show times, users expect customized information to be delivered quickly and accurately.

As more firms build dynamic Web sites, they are turning to XML-based Web content management and delivery systems to help manage, integrate and communicate information to constituents in real time.

The key to the systems is their XML base. XML enables the separation of content from business logic and presentation. By defining the content of a document separately from its formatting, XML makes it easier to reuse the content in other applications or presentation environments.

MORE COMPUTING INTELLIGENCE
IDG.net   IDG.net home page
  Free tool for integrating Java with XML
  XML stumbling blocks
  Tools for tomorrow's webmaster
  Is XML ready for prime time?
  Reviews & in-depth info at IDG.net
  E-BusinessWorld
  Year 2000 World
  Questions about computers? Let IDG.net's editors help you
  Subscribe to IDG.net's free daily newsletter for network experts
  Search IDG.net in 12 languages
  News Radio
  * Fusion audio primers
  * Computerworld Minute

To understand XML's role in dynamic Web content delivery, one must first understand the concept of tags. Like HTML, XML uses elements and attributes, which are indicated in a document using tags. But unlike HTML - which only can describe how to display content, not what the content is - XML enables tagging of information in a document that describes what that content is about, in explicit terminology and implicit nesting structure.

XML's tag structure lets users define and index sets of data however they wish - that is, to structure documents according to their needs. An XML-tagged document could contain the following:

This is the first paragraph.

The benefits of XML's self-describing capabilities are enormous, including making it easy to manipulate content - search it, repurpose it and display it differently. Because information is identified contextually, queries retrieve only relevant files, making online searches more efficient. And because each piece of content is tagged, XML-based Web content management and delivery systems have the ability to pick out particular components from the database and repackage the information to construct multiple pages.

Business logic, the set of rules for what the data should do, can be applied to data as it is served to an individual visitor to govern the right presentation of data for that audience. For example, if a supplier visits a Web site, he should see content that is geared specifically for him, whether it's pricing or account information.

This pricing and account information, of course, will be customized for different visitors - employees, retailers and direct buyers will see completely different content than a supplier or customer.

Because HTML has been the language used by most Web publishers in the past, a strategy for migrating to XML is necessary. Some content management/delivery systems enable gradual migration to XML by providing templates that handle both XML and HTML. These systems leverage XML to remove the formatting instructions of HTML files and dynamically reformat them with a new design from a template. This enables companies to change the look and feel of their sites easily.

They can develop "private label" templates that use the logo, look and feel of a given reseller, supplier or distributor, but pull content from a central data repository. By doing that, even though the data source is the same across all, the look and feel of the data meets the unique requirements of each partner's site.

The other migration issue with XML is that most browsers still see only HTML. Therefore, finding a content management system that has the ability to transform XML to HTML on the server level, before it is sent to the user's browser, is critical. Some systems do this by "walking" the tree of an XML document, scanning each tag and building an HTML file by combining the tags and a template, which incorporates the business logic that has been scripted. The result is a dynamic document that changes in response to changes in content, logic and/or presentation.

Though only at the beginning of its adoption curve, XML is proving it can improve the way Web content is created, managed and published.



RELATED STORIES:
Commerce One adds XML tools to e-commerce line
January 27, 2000
CrossWorlds connects with XML
January 17, 2000
XML comes of age at Internet World
April 16, 1999
XML for the absolute beginner
April 2, 1999
Sun extends Java to support XML
March 26, 1999
In search of XML
March 19, 1999

RELATED IDG.net STORIES:
Web publishing hinges on XML
(IDG.net)
Tools for tomorrow's webmaster
(Sunworld)
Is XML ready for prime time?
(IDG.net)
How to blend the power of XML and databases
(Javaworld)
XML stumbling blocks
(Infoworld)
WWW Consortium finalizes two XML technologies
(Computerworld)
XML: Holy grail or wholly hype?
(Publish)
Free tool for integrating Java with XML
(Infoworld)

RELATED SITES:
XML overview and FAQ
Tutorial: Introduction to XML
XML Search Engine

Note: Pages will open in a new browser window
External sites are not endorsed by CNN Interactive.

 Search   

Back to the top   © 2001 Cable News Network. All Rights Reserved.
Terms under which this service is provided to you.
Read our privacy guidelines.