Share via


XMLNamespace.XSLTransforms Property (Word)

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.

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.

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

See Also

Concepts

XMLNamespace Object Members

XMLNamespace Object