Document.TransformDocument procedure builder

Document.TransformDocument (Word)

Applies the specified Extensible Stylesheet Language Transformation (XSLT) file to the specified document and replaces the document with the results.

TransformDocument (Path, DataOnly)

ActiveDocument.TransformDocument _ 
 ("c:\schemas\simplesample.xslt")

Arguments

The following argument is required

Path (String) - The path for the XSLT to use.

Optional arguments

The following argument is optional

DataOnly (Boolean) - True applies the transformation only to the data in the document, excluding Microsoft Word XML. False applies the transform to the entire document, including Word XML. Default value is True.