If I remembered it correctly, here is what I got some time ago:
(On a 700 MHz pc)
1. read in one xml file and parse it, do it just once: about 200ms
2. read in one xml file and parse it, loop it, say 5000 times: 2ms/per loop
3. make a small DOM object in the memory, just once: about 200 ms
4. make a small DOM object in the memory, once again loop it: <0.5 ms/per
loop
-Samuel.
----- Original Message -----
From: "Matthias Carlsson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 14, 2001 2:22 PM
Subject: Client-side XML-transformation?
> 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 ]
>
>
___________________________________________________________________________
> 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
>
___________________________________________________________________________
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