XMLHideNamespaces Property

Microsoft Word Visual Basic

XMLHideNamespaces Property

Returns a Boolean that represents whether to hide the XML namespaces in the list of elements in the XML Structure task pane. 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.

expression.XMLHideNamespaces

expression    Required. An expression that returns a Document object.

Remarks

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.

    ActiveDocument.XMLHideNamespaces = False