Posted By: doncho | Oct 10th, 2006 @ 4:32 PM

In this screencast, Office program manager Brian Jones shows how to use content controls, data binding, and the custom XML data store to push/pull data to/from a Word 2007 document.

 

Microsoft has adopted the Office Open XML file format, as the new default file format for Word, Excel, and PowerPoint 2007 to reduce file size, improve reliability, guarantee long term accessibility for archiving, and enhance interoperability with business solutions.

A key piece of the integrating the contents of Office documents with business data is the ability to structure those documents semantically. Word 2007 builds on top of the custom defined schema support introduced in Word 2003 and offers an extremely robust way to structure the contents of a document.

In addition to allowing the solution builder to structure a Word template, they can then map those structures to their own custom XML schemas which allows the developers to program directly against the data rather than against the application’s object model. This allows for much simpler and more reliable solutions than in the past, and even allows the valuable contents within the documents to maintain a direct mapping to business data without writing any code.


Related Links:

Brian Jones' OpenXML Formats blog

OpenXMLDeveloper.org

Microsoft Office Word team’s blog

MSDN Word Developer Portal
MSDN XML in Office Developer Portal

Rating:
0
0
So this is really informative thanks. But I must be doing something wrong because I am not seeing the same thing you are seeing. 

I have created a template with a few Content Controls and then create a new document using that template and it all works great. So I add data as expected and then save that doc. 

But when I open the new doc as a ZIP file and then go to the item1.xml file my schema is not there.  My item1.xml has this (and only this) in it:

<b:Sources xmlns:b="http://schemas.openxmlformats.org/officeDocument/2006/bibliography" xmlns="http://schemas.openxmlformats.org/officeDocument/2006/bibliography" SelectedStyle="\APA.XSL" StyleName="APA"/>

Did I miss something?


Word 2007 (12.0.4518.1014) MSO (12.0.4518.1014)

kb