DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32057>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32057 [PATCH] Conditional JS script references in result HTML ------- Additional Comments From [EMAIL PROTECTED] 2004-11-08 19:52 ------- Don't understand most of your concerns: 1. "Stylesheets distributed with Cocoon can be used just after copying them." What has this to do with the conditional includes? 2. "it's the worst to waiting until page is loaded for the first time." Better waiting once instead of waiting on *every* form. 3. "AFAIK mosly used XSLT processors in Cocoon create DOM tree independently of occurence (or not) of descendant axis." That's not true. It's a question of late initializing and early freeing resources. (BTW, Xalan does not build a DOM, but a Document Table Model. With big documents and using descendent axis you can run into http://wiki.apache.org/cocoon/NoMoreDtmIdError easily.) 4. "I think there is no other solution, we have to use descendant axis." No, I already suggested xsl:key and key() as alternative which don't have that performance impact. But it's questionable if it's worth the effort. The solution is set up in short time, but others have to understand it if they want to reuse parts of the stylesheet and we have to maintain it if we extend the stylesheets. Keeping the stylesheets as easy as possible and so making them understandable for other people is easier IMO.
