Shashi,
See the documentation for Templates [1]. Both Xalan and XSLTC will perform better using this class. Xalan will do a form of pre-compilation that will not require re-parsing; XSLTC will completely translate the stylesheet into Java bytecodes (which is similar to what happens with JSPs). Thus, in neither case, the stylesheet needs to be re-parsed.
Hope this helps.
-- Santiago
[1] http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/class-use/ Templates.html
On Oct 21, 2004, at 1:42 AM, Shashi Bhushan wrote:
Hi Yash,
Thanks for your reply.
My Understanding is Xalan Interprete xsl every time when page load(checks
all the syntex,import,include statement and conditions etc.).If i have a
internet application and if 20 users open the page it take same amount of
time to load the page.
If we go for another solution as JSP in which first take time to load page
b'use of page compilation and all,but from the next time it works fine.
I want same as technique in XSL and i think XSLTC help me out in this.Is it
possible in this and how can i have to start work to change my appliction
from simple xsl application to ...
-----Original Message----- From: Yash Talwar [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 7:58 PM To: [EMAIL PROTECTED] Subject: Re: XSLTC and Session Handling
Hi Shashi,
I believe you need to ensure that "javax.xml.transform.TransformerFactory"
system property is set to "org.apache.xalan.xsltc.TransformerFactoryImpl".
Please have a look at http://xml.apache.org/xalan-j/xsltc_usage.html Thanks!
Yash Talwar
Shashi Bhushan
<[EMAIL PROTECTED]
o.in> To
"'[EMAIL PROTECTED]'"
10/20/2004 04:02 <[EMAIL PROTECTED]>
AM cc
Subject
Please respond to XSLTC and Session Handling
xalan-dev
Hi All,
I am working on the web application in which i java extension for session
handling and used that functions in my xsl for session management.
Other than command line xsl Complie is there any other way in which i can
use xsltc with my web application that based on tomcat
Regards
Shashi Bhushan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
PGP.sig
Description: This is a digitally signed message part
