Free Newsletters
Technology & Business Daily

InfoWorld
Log-in | Register

  Thursday, February 03, 2005 

Schemas for smart documents

In a session entitled Contextualized Data in Document Authoring, John Durant gave a nice overview of how to connect XML elements to the Office task pane. First, the bad old crufty way using VS.NET 2003, and then the good new elegant way using the beta of VSTO (Visual Studio Tools for Office) 2005. In either case, the idea is to animate the task pane with context-sensitive controls that sense and react to navigation within the document.

I've yet to see a jaw-dropping exploitation of the task pane using these techniques, and that's something I'll be on the lookout for. But the session did highlight an aspect of Office 2003's use of XML Schema that I hadn't considered. I've mainly thought about XSD as a way to assure document validity in a declarative way. And that's true, though we've yet to see much demonstrable benefit. But XSD is also a useful organizing principle for smart-document apps. It gives you a way to identify the parts of the document to which behavior will be attached, and to automate the connections between document elements and code.

There are other ways to skin the cat, I'm sure, but this is a point that skeptics of user-defined schemas for open office documents might want to address.

PS: You are reading this, which means -- yay -- WiFi!

 

In search of Office XML apps

Today and tomorrow I'm at the first Office System Developer Conference in order to find out, among other things, what people have made out of the XML infrastructure that Jean Paoli's team infused into the Office apps a couple of years ago.

Will the event be WiFi-enabled and bloggable? It's at the Microsoft campus so I'm guessing not, but hoping to be pleasantly surprised.

 


Recent Entries


















































Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS  CAREERS   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
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.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist