XMLSaveDataOnly Property

Sets or returns a Boolean that represents whether a document is saved with the XML markup or as text only. True indicates that Microsoft Word will save a document with custom XML markup and related content only. False indicates that Word will save a document with the full XML markup.

expression.XMLSaveDataOnly

expression    Required. An expression that returns a Document object.

Example

The following example specifies that the active document is saved with custom XML markup and related content only.

ActiveDocument.XMLSaveDataOnly = True
©2003 Microsoft Corporation. All rights reserved.