Article ID: 2761189 - View products that this article applies to.
Expand all | Collapse all

Symptoms

Consider the following scenario: In Microsoft Word 2013, you open a document that uses one of the following file formats:
  • Word Document (.docx)
  • Word Macro-Enabled Document (.docm)
  • Word Template (.dotx)
  • Word Macro-Enabled Template (.dotm)
  • Word XML Document (.xml)
  • Word 2003 XML Document (.xml)
  • Word 97-2003 Document (.doc)
  • Word Web Pages (.html)
  • Rich Text Format (.rtf)
In this scenario, you notice that all custom XML markup in the document is removed. Custom XML markup in a Word document is visible as pink tag names that enclose text in a document. (Pink is the default color.)
Collapse this imageExpand this image
2449632

Cause

The removal of custom XML markup is the result of a United States court ruling on December 22, 2009. Customers who buy or license Word 2013 will find that the software does not include a particular custom XML tagging implementation.

More information

The following features of custom XML markup are removed in Word 2013:
  • All user interface elements that relate to custom XML markup are removed.
  • All object models for custom XML markup return the following errors when they are accessed:

    That method is not available for that object

    That property is not available for that object
  • When you open a file that contains custom XML markup, the markup is removed when you save the file. When you open a file that contains custom XML markup, you receive the following message:

    This file contains custom XML elements, which are no longer supported by Word. If you save this file, these custom XML elements will be removed permanently.

    Note The behavior of the message can be controlled through Group Policy by using a policy that is called CustomMarkupWarning.

All solutions that contain custom XML markup will have to be revised. Many of the scenarios that are implemented by using custom XML markup can be implemented by using alternative technologies that are available in Word 2013. These technologies include content controls, form fields, and bookmarks. For example, content controls (in addition to other technologies such as bookmarks) let developers 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 an explanation and more information about content controls, go to the following Microsoft website:
Word content controls resource center

References

For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
978951 Description of the January 2010 update for Word 2003 and Word 2007

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"

2445060 Custom XML mapping is removed when you open a document in Word 2010

Properties

Article ID: 2761189 - Last Review: October 9, 2012 - Revision: 5.0
Applies to
  • Microsoft Word 2013
Keywords: 
KB2761189

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com