cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yves Vindevogel <>
Subject Re: Is using Cocoon a good idea?
Date Thu, 22 Jun 2006 08:55:41 GMT
I think the tool will be "rename directory"

Rename your directory with XSL files, then run the pages and see what is 
It'll take you an hour or so to copy each xsl file back when you see you 
need it.
Once you ran through the whole site, all that's left in the renamed 
directory is unuseful.

Bertrand Delacretaz wrote:
> On 6/22/06, Gnatz, Michael <> wrote:
>> ...When I just delete a template it might be in use anywhere in those 
>> 500 pagees and I might not recognize...
> I don't know of a tool that would help find out which XSLT templates
> are not used (which does not mean that such a tool does not exist).
> Given that XSLTs can process any well-formed input, such a tool would
> have to be dynamic, static analysis won't do unless coupled with
> schemas, and in that case the whole thing would get fairly complex.
> If you have a way to extensively test your application (and without
> that, refactoring sounds a bit dangerous), you could try adding
> <xsl:message terminate="yes"> statements to templates that you think
> are not used, run the app and see if it breaks.
> -Bertrand
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message