Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Microsoft Office Word
Search
Search
 
Check for updates: (c) Microsoft
Office downloads
 
 
 
Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
Apply an XSL Transformation
 

Note  XML features, except for saving documents as XML with the Word XML schema, are available only in Microsoft Office Professional Edition 2003 and stand-alone Microsoft Office Word 2003.

Caution  If you apply an Extensible Stylesheet Language Transformation (XSLT) (XSL Transformation (XSLT): A file that is used to transform XML documents into other types of documents, such as HTML or XML. It is designed for use as part of XSL.) when you save an Extensible Markup Language (XML) (Extensible Markup Language (XML): A condensed form of Standard Generalized Markup Language (SGML) that enables developers to create customized tags that offer flexibility in organizing and presenting information.) file, Word discards any data that the XSLT does not use.

Do one of the following:

ShowApply an XSLT to the active document

  1. On the File menu, click Save As.
  2. In the Save as type box, click XML Document.
  3. In the File name box, type the document name.
  4. Select the Apply transform check box.
  5. Click Transform, select an XSLT file, and then click Open.
  6. Click Save.

ShowApply the same XSLT every time you save the active document

  1. On the Tools menu, click Templates and Add-Ins, and then click the XML Schema tab.
  2. Click XML Options.
  3. Select the Apply custom transform check box, and then click Browse to locate the XSLT file.

    Note  You can override this default XSLT by selecting the Apply transform check box in the Save As dialog box and selecting a different XSLT file.

advertisement