About InfoWorld : Advertise : Subscribe : Contact Us : Awards : Events : Store
InfoWorld HomeNewsTest CenterOpinionsProduct GuideTechIndex
 
 

NEWS

 
Captured in XML

By Jon Udell
October 25, 2002


XML DOCUMENTS, encapsulated in SOAP messages, are the packets of the business Web. Standards efforts under way focus on how to create, transform, interpret, sign, and encrypt these packets as they flow among communicating applications and services. Because XML documents will often model the real business documents that support business processes, such as purchase orders, it's clear that people will need to be able to write them, too. Sadly, the tools that capture nearly all of our keystrokes -- e-mail, word processors, Web pages -- can't compose valid XML. Solving this problem is as critical as any challenge facing Web services today. Ideally every operating system would offer a standard XML editing component, embeddable in Web pages and GUI applications. Wired to a DTD (Document Type Definition) or XML Schema, this component would allow users to interactively create or modify valid instances of the DTD or schema.

   ADVERTISEMENT
  

Free IT resource

TechNet: More ways to know it, share it, and keep it running.

Sponsored by Microsoft

Free IT resource

Attend the SOA Executive Forum: Breaking SOA Bottlenecks SOAExecForum.com/may2007

Sponsored by InfoWorld

RELATED LINKS
»  IT trainer offers master's degree for hackers
»  MSNBC buys participatory news site Newsvine
»  Merchants: eBay ad programs drive buyers away
»  Web services RSS feed 

IDG ENTERPRISE NETWORK
Web Services Caution Abounds  (CIO)

TOP NEWS 


IT SOLUTION SEARCH
Microsoft is taking several steps in this direction. In Office 11, both Word and Excel (but not Outlook) can display and edit schema-defined XML. A recent demo of these features left us with questions that only the beta code (expected shortly) can answer, but the basic strategy is laudable in one way and flawed in another. The good news is that Office will enable users to receive, view, annotate, and relay XML business documents. The bad news is that these features are exposed only in Word and Excel, not in Outlook, which carries the lifeblood of business communication. Microsoft's just-announced XDocs initiative muddies the waters still further. Slated for mid-2003, XDocs appears to be an XML-based forms application that aims to provide a more general-purpose interface for data collection than either Word or Excel. Whether it can run as an embeddable component, and how it relates to the Office family, are questions that Microsoft won't answer yet.

Microsoft has for years distributed a component that points toward the type of universal XML editing solution we envision. It's called the DHTML edit control. If you run Internet Explorer and have seen a Word-like interface appear on a Web page in place of a plain text input area, you've used this control. It supports WYSIWYG editing of HTML, not XML, and the quality of the HTML that it produces is extremely poor. But the component is so useful that one company, Ektron (www.ektron.com), has made a business out of improving it. Ektron's eWebEditPro enables the Microsoft control to embed in Netscape as well as IE; wraps a JavaScript API around the control so that developers can add or subtract features to customize it for specific applications; and can reduce the awful HTML generated by the control to nice, clean XHTML (Extensible HTML). This format, which combines the familiarity of HTML with the mechanical regularity of XML, is a great way to simplify the management of semistructured and unstructured content.

Ektron's eWebEditPro can be used as a stand-alone, licensed product to deploy from a Web server and relay rich content back to it. It's also the authoring tool at the heart of Ektron's CMS200, an inexpensive content management system that combines Web-based site management with eWebEditPro's WYSIWYG editing. The "content objects" that CMS200 manages, and the templates through which it renders them, are stored in a SQL database. Uniquely, the Web site fed by this content need not be driven entirely by CMS200. It integrates with existing ASP, ASP .Net, ColdFusion, and PHP Web sites, which can selectively and incrementally make use of managed content. It's even possible to source CMS200-managed content into static HTML pages. This flexible and developer-friendly architecture, useful for managing Web sites, points in the direction of a general-purpose system for putting users in control of collections of XML business documents.

Separately, and not yet integrated with CMS200, Ektron offers eWebEditPro+XML. In this version of the edit control, XML content is displayed in nested frames (defined in an XML configuration file), and made available for structured editing. The XML content is associated with a DTD or schema whose constraints are expressed in the UI. The available choices for the "city" pick-list, for example, are controlled by an XML Schema simpleType that enumerates them. This is a tour de force that pushes the edit control far beyond its intended use.

Predictably, the results are not always seamless. In particular, because the editor has no real-time awareness of document structure, it can't detect changes that invalidate the document. To do that, you have to ship the content in batch mode to MSXML 4.0 (the required parser) or write JavaScript code to enforce constraints, which defeats the purpose of using a schema.

This is, nevertheless, an interesting here-and-now solution to the problem of collecting XML data from users.

A general approach to this problem looms on the horizon. XForms is a W3C work-in-progress that aims to update that trusty workhorse, the XHTML form, in order to cleanly separate data from presentation. (Microsoft won't say whether XDocs is based on, or will support, XForms.) In the XForms architecture, the data is exposed to XML-style manipulation (DOM), transformation (XSLT), and search (XPath, XQuery), and the presentation can be controlled by CSS (Cascading Style Sheets). A co-chair of the XForms working group, Sebastian Schnitzenbaumer is CEO of a company that offers a transitional product that tracks this emerging standard. Mozquito Technologies' Web Access 2.0 makes XForms-like technology deliverable in today's browsers. An XForms form, for example, uses XML Schema data types to constrain the values permitted in a form. As rendered by Web Access 2.0, the form is defined in HTML, uses generated JavaScript to handle validation, and returns valid XML. Mozquito has also demonstrated a Flash-based XForms renderer, based on a suite of XML support technologies (XPath, CSS) it is developing in ActionScript for the Flash 6 player.

We like the concepts that Ektron and Mozquito are developing. XML data capture is too important to be siloed within applications such as Word and Excel. It's a capability that needs to be readily accessible to developers and deployable everywhere.




  BOTTOM LINE
XML for the rest of us
EXECUTIVE SUMMARY
As the structured messages exchanged by Web services become more like business documents, it's vital that business users be able to read them and write them. Products that use XML to define forms and control the gathering of structured data are an important, emerging trend.

TEST CENTER PERSPECTIVE
Structured editing of schema-controlled XML data is a hard challenge to meet. Tools that would make the task easy and natural are nowhere in sight. For products such as Microsoft's forthcoming Office 11 and XDocs, Ektron's eWebEditPro+XML, and Mozquito Technologies' Web Access 2.0, that's an opportunity to redefine the next generation of business forms software.


RELATED SUBJECTS

Web Technologies


SPONSORED WHITE PAPERS
EMC - Lower costs and improve reliability-Get the EMC CLARiiON white paper!
Ciphertrust - Are you ready for Sobig.G? Learn how to protect your email systems.
CDW - Personal attention. CDW. The Right Technology. Right Away.
EMC - Explore key performance features and capabilities of EMC ControlCenter 5.1.1.
Intel - Free Intel white paper shows you how to deploy a secure wireless LAN
Cisco - FREE WHITE PAPER: BLUEPRINT to design and implement secure VPNs
Verity, Inc. - "Mass Consolidation Hits the Web-Search Market"
McDATA - Download a FREE storage consolidation white paper from McDATA(R).
Lucent Technologies - Overcoming Common Firewall Limitations
Lucent Technologies - Leverage Your Mobile High Speed Data Access. Download Free White Paper!
Nokia - Get the scoop! Mobilizing business white papers & case studies.
BMC Software - Maximize the Potential of Enterprise Data: Free white paper!
Network Associates - Free white paper - Strategies for Optimizing Network Costs and Benefits
Entrust - Manage identities across applications. Improve productivity.
Stalker Software - CommuniGate Pro - Transform your Email and Calendaring
Remedy - A NEW Gartner Research Note:Producing Quality IT Services

Search the IDG White Paper Library:


SPONSORED LINKS

INFOWORLD MARKETPLACE


» EMC delivers high-speed image capture, storage
Learn how you can quickly capture, organize, and deliver information with EMC ApplicationXtender.
» Agentless SOA Management
SOA operational visibility in less than a day, without installing message agents - free download.
» Apply BPM and ITIL at your IT Help Desk
ServiceWise brings BPM to complete IT service while eliminating integration cost. Learn more here.
» Find IT Consultant
Post Your Project for Free. Get Bids from Thousands of Pre-Screened Consultants. Register Now!
» Metadata Management Software
MetaCenter: Plug & play metadata management software for enterprise systems. Features: data ...




 HOME  NEWS  TEST CENTER  OPINIONS  PRODUCT GUIDE  TECHINDEX   About : Advertise : Subscribe : Contact Us : Awards : Events 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy

All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses, phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

Computerworld :: Network World :: CIO :: PC World :: Darwin :: CMO :: CSO
IT Careers :: JavaWorld :: Macworld :: Mac Central :: Playlist :: GamePro :: GameStar :: Gamerhelp
ITWorld Canada :: Computerwoche :: Techworld UK :: tecChannel :: IDG.se :: IDG.no