As a way to optimize loading and parsing of XSLT, we are making use of javax.xml.transform.Templates and maintain an in-memory cache of the Templates by name
Within the XSLT itself, usually there are a number of xsl:include. <xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:lxslt='http://xml.apache.org/xslt' exclude-result-prefixes=lxslt' version='1.0'> <xsl:include href='someCommon.xsl'> When there's a change to someCommon.xsl, is there a way to programmatically determine the dependencies between the 2 maps. What I would like to do is to be able to detect the dependency and sweep through the in-memory cache and flushed out or reload the affected parent map. Thanks in advance. Toadie.