XMLNamespace.XSLTransforms Property

Word Developer Reference

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

Syntax

expression.XSLTransforms

expression   An expression that returns an XMLNamespace object.

Example

The following example adds the simplesample.xsl transform to the transforms for the SimpleSample schema.

Bb148352.vs_note(en-us,office.12).gif  Note
The SimpleSample schema is included in the Smart Document Software Development Kit (SDK); however, there is no corresponding simplesample.xsl file. This code was created for example purposes only. For more information, refer to the Smart Document SDK on the Microsoft Developer Network (MSDN) Web site.
Visual Basic for Applications
  Dim objSchema As XMLNamespace
Dim objTransform As XSLTransform
    
Set objSchema = Application.XMLNamespaces("SimpleSample")
Set objTransform = objSchema.XSLTransforms _
    .Add("c:\schemas\simplesample.xsl")

See Also