On the XSLT list, someone asked about documenting a group of stylesheets. Saxon developer Michael Kay suggested:
It’s very hard to work out statically which templates will invoke which others, but it would be an interesting exercise to try to extract this information from Saxon’s run-time (-T) trace information. This is of course an XML file and can be analyzed using XSLT.
