Data/View Separation in Word 2007
- Posted: Oct 10, 2006 at 4:32 PM
- 15,779 Views
- 3 Comments
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
Microsoft Office Word team’s blog
MSDN Word Developer Portal
MSDN XML in Office Developer Portal
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
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
Yepp, me to. Nothing to view ...
Remove this comment
Remove this thread
close