clear_stylesheet
clear_stylesheet (path)
The clear_stylesheet function removes the stylesheet indicated by path from the compiled stylesheet cache. Arbortext Editor and Arbortext Publishing Engine store XSL stylesheets in this cache after they've been compiled during a publishing process. By storing these stylesheets, they don’t need to be recompiled during subsequent publishing runs.
You can obtain a list of paths using the list_stylesheets function. If path is not specified or is an empty string, all stylesheets are cleared from the cache.
For example, if you edited an XSL stylesheet that had previously been used in a publishing process, you would use this function to clear out the stylesheet cache. The updated stylesheet would then be used during the next publishing process.