Export (0) Print
Expand All
Expand Minimize

Document.XMLHideNamespaces Property

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



expression   An expression that returns a Document object.


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.


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

Visual Basic for Applications
ActiveDocument.XMLHideNamespaces = False

Community Additions

© 2014 Microsoft