We've had pretty good results from Oracle's xslt in xsql. The trick seems to be that it caches the parsed XSL in memory and re uses it for subsequent requests. Sun have an extrem version of that where they 'transform' the XSL to java and compile it. I haven't tried it but it might be worth it on a high volume site. The client side xsl is a mess. We have just shipped something that uses it, but it only works on IE 5 or 5.5 . (which we get away with on an intranet.) The xsl in IE predates the standard, and lacks quite a few features. There is an update for it that brings it up to 1.0 but -nobody- has that installed. Likewise Netscape 6 has an optional beta level (hey, the whole browser is a beta) xsl plugin. I think we are a year away from widespread xslt 1.1 in the browser. By the way we got a x10 speed up on one transform by using xsl:key on 'cross grain' match. Matthias Carlsson <[EMAIL PROTECTED]> wrote: __________ >I'm currently writing a web application where I'm generating a DOM- >object in memory and then transforming it to HTML with XSL. This works fine, >but the time it takes to finish a request is not acceptable. > >Currently (Tomcat 3.2.x) it looks like something like this > > Generate the DOM-object for a page : 50-70 ms (acceptable) > Transforming DOM-object : 300-600 ms (not acceptable) > >Are these numbers "normal", or am I doing something terrible wrong >somewhere? >I'm using Xerces and Xalan from Apache. > >But, do get back on topic, I heard some time ago that some modern browsers >(IE 5.5, Mozilla 6) handle client-side XSL-transformations. I assume this >is done by sending both the XSL-document and the DOM-strukture to the >browser and letting that take of everything (which would save server time). >I'd like to be able to detect a browser which supports this so the server >won't have to perform the transformation when the client can do it instead. > >Does anyone have information on this? > >[ Matthias Carlsson ] >[ Programmer (Java, XML/XSL, CGI/Perl, HTML/JS) ] [ Web Designer ] >[ E-Mail : [EMAIL PROTECTED] ] [ ICQ: 1430647 ] > http://www.westpoint.ltd.uk/ Internet reconnaissance services. ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
