XMLNamespaces Property

Microsoft Word Visual Basic

XMLNamespaces Property

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

expression.XMLNamespaces

expression    Required. An expression that returns an Application object.

Example

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

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