This documentation is archived and is not being maintained.

Video How to: Binding Content Controls to Custom XML Parts

Visual Studio 2008

Video How to: Bind Content Controls to XML PartsVideo How To

Authors: Kathleen McGrath, Harry Miller, McLean Schofield, Microsoft Corporation

Applies to: Microsoft Visual Studio 2008 Professional Edition

Length: 00:08:34 | Size: 33.9 MB | Type: WMV file


Watch the video

Download the video and transcript

Read the step-by-step article

Data can be stored in Word 2007 documents by using custom XML parts. You can display this data by binding content controls to elements in a custom XML part.

This video shows you the six basic steps involved in binding content controls to custom XML parts. The following tasks are included in the process:

  • Adding content controls to the document.

  • Creating an XML data file.

  • Creating an XML schema to validate the XML data file.

  • Attaching the XML schema to the document.

  • Adding a custom XML part to the document.

  • Binding the content controls to elements in the XML part.

The Visual Studio Tools for Office Help includes the code and the steps that are demonstrated in this video. See Walkthrough: Binding Content Controls to Custom XML Parts.