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 18:33 ------- I think there is no other solution, we have to use descendant axis. Some notes about horrible performance killing. I think, descendant axes kill performance only if there are called repeatedly, in our case each axis is called only one time. AFAIK mosly used XSLT processors in Cocoon create DOM tree independently of occurence (or not) of descendant axis. We have a few additional searches through the whole DOM tree. I'm not sure if it is a huge cost. What about advantages? Stylesheets distributed with Cocoon can be used just after copying them. Of course user can patch these XSLs by hand, but hey, it's not simple as you could think for a newbie. I think user will complain ealier about loading a bunch of unnecessary scripts than performance issues (insignificant IMO). Yes, browser cache will work perfectly but it's the worst to waiting until page is loaded for the first time. We discuss about over 100kb of scripts, I think it's a lot. If I am wrong in some point, please correct me.
