XMLNamespace.DefaultTransform Property

Word Developer Reference

Returns an 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.

Syntax

expression.DefaultTransform

expression   An expression that returns an XMLNamespace object.

Example

The following example returns the default XSLT for the first schema in the Schema Library that Microsoft Word will use to open XML files associated with that schema's namespace. This example assumes that the first schema has one or more applied XSLT files.

Visual Basic for Applications
  Dim objXSLT As XSLTransform

Set objXSLT = Application.XMLNamespaces(1).DefaultTransform

See Also