XMLNamespace.DefaultTransform property (Word)
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.
Dim objXSLT As XSLTransform
Set objXSLT = Application.XMLNamespaces(1).DefaultTransform
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.