clear_stylesheet
clear_stylesheet (path)
This function clears the stylesheet indicated by path from the compiled stylesheet cache. Arbortext Editor stores XSL stylesheets in this cache after they've been compiled during a publishing process. By storing these stylesheets, Arbortext Editor avoids having to recompile them 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.
As an example, if you edited an XSL stylesheet that had previously been used in a publishing run, you would use this function to clear out the stylesheet cache. The updated stylesheet would then be used during the next publishing.
Related Topics