Search /
Advanced search  |  Help  |  Site map
Click for Layer 8! No, really, click NOW!
Networking for Small Business
How Apple's billion dollar sapphire bet will pay off
iPhone 6 rumor rollup for the week ending April 18
Arista co-founder may have switch maker by its jewels
Open source pitfalls – and how to avoid them
AT&T's expanded 1 Gbps fiber rollout could go head to head with Google
BlackBerry Releases BES 10 Security Update to Address 'Heartbleed' Flaw
Verizon: Web apps are the security punching bag of the Internet
Cisco announces security service linked with new operations centers
Dell launches virtual storage accelerator, aims to boost SAN performance
Free OS X Mavericks now powers half of all Macs
Even the most secure cloud storage may not be so secure, study finds  
3D printing will transform these five industries
Most but not all sites have fixed Heartbleed flaw
NEC launches face-recognition protection for PCs
Hundreds of medical professionals targeted in multi-state tax scam
Super-high frequencies could one day deliver your mobile video
Americans cool with lab-grown organs, but not designer babies
IT Departments Not Losing Ground to Managed Service Providers (Yet)
Where's my gigabit Internet, anyway?
IE6: Retired but not dead yet
Enterprise who? Google says little about Apps, business cloud services in Q1 report
DDoS Attackers Change Techniques To Wallop Sites
Can we talk? Internet of Things vendors face a communications 'mess'
AMD's profitability streak ends at two quarters
Michaels says breach at its stores affected nearly 3M payment cards

How XML enables dynamic content

Related linksToday's breaking news
Send to a friendFeedback

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.

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:

<title>XML for Fun & Profit</title>
<section id="id-012345">
<title>This is section one.</title>
<acme:p>This is the first paragraph.</acme:p>

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 Links

Vogel is chief technology officer for eBusiness Technologies in Providence, R.I. He can be reached at

Net Management with XML
Network World, 09/27/99.

OnDisplay to offer free XML server software
Network World, 02/02/00.

RosettaNet XML consortium shows off early work
Network World, 02/03/00.

Downloads: XML editors, parsers, utilities
Network World.

XML Web Resources
Network World.

NWFusion offers more than 40 FREE technology-specific email newsletters in key network technology areas such as NSM, VPNs, Convergence, Security and more.
Click here to sign up!
New Event - WANs: Optimizing Your Network Now.
Hear from the experts about the innovations that are already starting to shake up the WAN world. Free Network World Technology Tour and Expo in Dallas, San Francisco, Washington DC, and New York.
Attend FREE
Your FREE Network World subscription will also include breaking news and information on wireless, storage, infrastructure, carriers and SPs, enterprise applications, videoconferencing, plus product reviews, technology insiders, management surveys and technology updates - GET IT NOW.