Select the product you need help with
Custom XML markup is removed when you open a document in Word 2010Article ID: 2445060 - View products that this article applies to. Symptoms
Consider the following scenario. You try to open a document in Microsoft Office Word 2010 that is using one of the following file formats:
More informationVersions of Word that are distributed by Microsoft after January 10, 2010 no longer read the custom XML markup that may be contained within .docx, .docm, .dotx, .dotm, or .xml files. Word 2010 can still open these files, but any custom XML markup is removed. Custom XML markup in a Word document is visible as pink (the default color) tag names surrounding text in a document. Collapse this image ![]() The removal of custom XML markup is the result of a United States court ruling on December 22, 2009. Customers who purchase or license Word 2010 will find that the software does not include a particular custom XML tagging implementation. The following features of Word are not affected by the update.
Note If you are a developer of a solution that uses custom XML markup, be aware that support for custom XML markup is no longer available. Many of the scenarios implemented by using custom XML markup can be implemented by using alternative technologies, such as content controls, form fields, and bookmarks which are available in Word 2007 and Word 2010. For example, as explained in the following articles, content controls (in addition to these other technologies such as bookmarks) enable developers to create structured documents and can be used to assign arbitrary values to structured content. These arbitrary values can be used to assign semantic meaning to parts of your content. For more information about content controls, go to the following Microsoft websites: Creating Word 2007 Templates Programmatically
(http://msdn.microsoft.com/en-us/library/bb266219(v=office.12).aspx)
Building Word 2007 Document Templates Using Content Controls
(http://msdn.microsoft.com/en-us/library/bb264571(office.12).aspx)
Mapping Word 2007 Content Controls to Custom XML Using the XMLMapping Object
(http://msdn.microsoft.com/en-us/library/bb510135(office.12).aspx)
How to: Bind a Content Control to a Node in the Data Store
(http://msdn.microsoft.com/en-us/library/bb243814(office.12).aspx)
Taking Advantage of Bound Content Controls
(http://blogs.msdn.com/b/brian_jones/archive/2009/01/05/taking-advantage-of-bound-content-controls.aspx)
The Easy Way to Assemble Multiple Word Documents
(http://blogs.msdn.com/b/brian_jones/archive/2008/12/08/the-easy-way-to-assemble-multiple-word-documents.aspx)
Creating Data-Bound Content Controls using the Open XML SDK and LINQ to XML
(http://blogs.msdn.com/b/ericwhite/archive/2008/10/19/creating-data-bound-content-controls-using-the-open-xml-sdk-and-linq-to-xml.aspx)
References978951
(http://support.microsoft.com/kb/978951/
)
Description of the January 2010 update for Word 2003 and Word 2007 2445062
(http://support.microsoft.com/kb/2445062/
)
Error Message when you try to open a document in Word: "The file contains custom XML elements which are no longer supported by Word."
PropertiesArticle ID: 2445060 - Last Review: December 7, 2012 - Revision: 3.0
| Article Translations
|



Back to the top








