XMLNamespace Interface

Definition

Represents an individual schema within the Schema Library.

public interface class XMLNamespace
[System.Runtime.InteropServices.Guid("B140A023-4850-4DA6-BC5F-CC459C4507BC")]
public interface XMLNamespace
type XMLNamespace = interface
Public Interface XMLNamespace
Attributes

Remarks

You can access the Schema Library from within Microsoft Word from the XML Schema tab in the Templates and Add-ins dialog box. The Schema Library represents schemas installed on a user's machine that a user has applied to a Word document or that a user has explicitly added to the Schema Library by using the Schema Library dialog box.

Use the Item[Object] property of the XMLNamespaces collection to return an individual XMLNameSpace object. The index value of the Item property can be either an Integer, which indicates the position of the schema in the Schema Library, or a String, which represents the name of the schema as returned using the URI property (the TargetNamespace setting defined in the schema).

Properties

Alias[Boolean]

Returns a String that represents the friendly name for the specified object.

Application

Returns a Application object that represents the Microsoft Word application.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

DefaultTransform[Boolean]

Returns a XSLTransform object that represents the default Extensible Stylesheet Language Transformation (XSLT) file to use when opening a document from an XML schema for a particular namespace.

Location[Boolean]

Gets or sets the location of the specified XML namespace.

Parent

Returns an object that represents the parent object of the specified object.

URI

Returns a String that represents the Uniform Resource Identifier (URI) of the associated namespace.

XSLTransforms

Returns a XSLTransforms collection that represents the Extensible Stylesheet Language Transformation (XSLT) files specified for use with a schema.

Methods

AttachToDocument(Object)

Attaches an XML schema to a document.

Delete()

Deletes the specified object.

Applies to