• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

10. Word 2003 XML Hacks > 96. Standardize Documents with XSLT

Standardize Documents with XSLT

Before you print or distribute a document, you’ll often want to put it into a consistent format without any extraneous items, such as comments left over from editing. This hack shows you how to use XSLT to scrub a document clean.

The previous examples showed you how to generate Word documents [Hack #94] and extract information from Word documents [Hack #95] . This hack shows you how to use XSLT to modify Word documents. Actually, in reality, XSLT never modifies anything; it only creates new documents. But if a new document varies only slightly from the original—and if you overwrite the original with the new one—then for all practical purposes, you’ve effectively modified the document, right? That is the approach taken here with XSLT.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint