Search /
Docfinder:
Advanced search  |  Help  |  Site map
RESEARCH CENTERS
SITE RESOURCES
Click for Layer 8! No, really, click NOW!
Networking for Small Business
TODAY'S NEWS
FCC defends new net neutrality proposal
New iPad rumor rollup for week ending April 23
Dell adds Big Switch to its SDN mix
Google Plus now minus chief Vic Gundotra
Heartbleed prompts joint vendor effort to boost OpenSSL, security
Microsoft Surface Mini seems likely to ship soon
China working on Linux replacement for Windows XP
FCC adds $9 billion to broadband subsidy fund
Raspberry Pi alternatives emerge to fill need for speed
It's now possible to wirelessly charge 40 smartphones from 16 feet away
Ex-FCC commissioner to head CTIA in latest Washington shuffle
Go time traveling with Google Maps
While Heartbleed distracts, hackers hit US universities
Survey respondents shun much-hyped mobile shopping technologies
7 Ways to Advance Your Project Management Career
How Apple's billion dollar sapphire bet will pay off
US to vote on sharp increase in broadband subsidies
iPhone 6 rumor rollup for the week ending April 18
NSA spying revelations have tired out China's Huawei
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
Verizon: Web apps are the security punching bag of the Internet
/

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:

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

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.

diagram

Related Links

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

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.