Application.XMLNamespaces Property (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns an XMLNamespaces collection that represents the XML schemas in the Schema Library.

expression .XMLNamespaces

expression An expression that returns an Application object.

The following example returns the first schema in the Schema Library.

Dim objSchema As XMLNamespace 
 
Set objSchema = Application.XMLNamespaces.Item(1)
Show: