XSLTransforms Property

Microsoft Word Visual Basic

XSLTransforms Property

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

expression.XSLTransforms

expression    Required. An expression that returns an XMLNamespace object.

Example

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

      Dim objSchema As XMLNamespace
Dim objTransform As XSLTransform
    
Set objSchema = Application.XMLNamespaces("SimpleSample")
Set objTransform = objSchema.XSLTransforms _
    .Add("c:\schemas\simplesample.xsl")
    

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.