Share via


Document.XMLHideNamespaces Property

Word Developer Reference

Returns a Boolean that represents whether to hide the XML namespaces in the list of elements in the XML Structure task pane. .

Syntax

expression.XMLHideNamespaces

expression   An expression that returns a Document object.

Remarks

True shows the elements with the XML schema namespace for the element to the right of the element name. False does not display the XML schema namespace.

Setting the XMLHideNamespaces property to False may be helpful when multiple schemas that contain similar or identical element names are attached to the same document.

Example

The following example tells Word to not show the XML schema namespace in the active document.

Visual Basic for Applications
  ActiveDocument.XMLHideNamespaces = False

See Also