Class XSLTransform (Word VBA)
The class XSLTransform represents a single registered Extensible Stylesheet Language Transformation (XSLT). To use a XSLTransform class variable it first needs to be instantiated, for example
Dim xsl as XSLTransform
Set xsl = Application.XMLNamespaces(1).DefaultTransform
For Each
Here is an example of processing the XSLTransform items in a collection.
Dim xsl As XSLTransform
For Each xsl In Application.XMLNamespaces.XSLTransforms
Next xsl
Alias
Returns a String that represents the display name for the specified object.
Alias (AllUsers)
Delete
Deletes the specified Extensible Stylesheet Language Transformation (XSLT) from the list of avaliable XSLTs.
Application.XMLNamespaces(1).DefaultTransform.Delete
ID
Returns a String containing the GUID assigned to the currentXSLTransform object.
Dim strID As String
strID = Application.XMLNamespaces(1).DefaultTransform.ID
Location
Returns or sets a String that represents the physical location of the XSL transform for the namespace of an XML schema in the Schema Library.
Location (AllUsers)
AllUsers: Specifies whether to return the location for all users. False returns the location for only the current user, which may be different than the location for all users.
Application.XMLNamespaces(1).DefaultTransform.Location =