magazine resources subscribe about advertising

New Architect Daily
Commentary and updates on current events and technologies

CMP Media E-Book

Download your copy today.

Research
Search for reports and white papers from industry vendors and analysts.

This Week at NewArchitect.com Subscribe now to our free email newsletter and get notified when the site is updated with new articles







Day of Defeat Online Gaming

 New Architect > Archives > 2000 > 11 > XML@Large  

Roll Your Own XML Editor

By Michael Floyd

When Tim Berners-Lee developed the concepts behind the World Wide Web, he never envisioned that HTML authors would work directly with the markup language. Instead, he theorized that they would use tools to generate the markup automatically. That, of course, was before the introduction of complex tags, scripting languages, applets, dynamic HTML, and the like. The complexity of these technologies and the control that authors prefer to exercise over their documents has kept them knee deep in code.

With XML, it's possible to revisit Berners-Lee's vision. XML simplifies documents by separating presentation and programming logic from content, and that allows authors to focus solely on their data. The data can be marked up with a tool that lets authors retain control over their documents without requiring them to deal with the underlying code. To take the tool concept one step further, I created a Web-based editor that generates and saves fully validated XML documents based on text supplied by authors. While the editor doesn't completely eliminate the need for markup, it greatly simplifies the process. That means content authors can spend more time creating and less time coding.

Because I serve most of my XML documents with Rocket—my own freely available, back-end framework that I first introduced in this magazine in my "Beyond HTML" in the February 2000 issue—I designed the editor to operate seamlessly with it. The editor creates an XML document that's stored on my Rocket-enabled site and automatically transformed to HTML (with complete formatting, navigation, and so on) before being served to users.




  Day of Defeat Online Gaming

home | daily | current issue | archives | features | critical decisions | case studies | expert opinion | reviews | access | industry events | newsletter | research | careers | info centers | advertising | subscribe | subscriber service | editorial calendar | press | contacts


Copyright © 2006 CMP Media, LLC Read our privacy policy, your California privacy rights, terms of service.
SDMG Web sites: BYTE.com, C/C++ Users Journal, Developer Pipeline, Dr. Dobb's Journal, DotNetJunkies, MSDN Magazine, Sys Admin,
SD Expo, SD Magazine, SqlJunkies, The Perl Journal, Unixreview, Windows Developer Network, New Architect

web2