Document.XMLUseXSLTWhenSaving (Word)

Returns a Boolean that represents whether to save a document through an Extensible Stylesheet Language Transformation (XSLT). True saves a document through an XSLT.

When setting the XMLUseXSLTWhenSaving property to True, use the XMLSaveThroughXSLT property to specify the path and file name of the XSLT to use.


ActiveDocument.XMLUseXSLTWhenSaving = True 
ActiveDocument.XMLSaveThroughXSLT = "c:\schemas\book.xslt"