xml-xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Dulin" <o...@configurecode.com>
Subject RE: Using a precompiled translet from Java
Date Mon, 17 May 2004 18:42:52 GMT
Ah, here is the problem.

I am not going to ship the XSL itself, only the classes.

In other words, Templates translet = tFactory.newTemplates(new
StreamSource(xslInURI)); will fail because xslInURI is nonexistent.

I need it to go directly to the class...

Any thoughts ?


-----Original Message-----
From: Igor Hersht [mailto:igorh@ca.ibm.com] 
Sent: Monday, May 17, 2004 2:25 PM
To: Oleg Dulin
Cc: xalan-j-users@xml.apache.org
Subject: Re: Using a precompiled translet from Java

You can take a look at
I think you will find an answer to your question  in
XSLTC TransformerFactory attributes
(attribute use-classpath ).

Igor Hersht
XSLT Development
IBM Canada Ltd., 8200 Warden Avenue, Markham, Ontario L6G 1C7
Office D2-260, Phone (905)413-3240 ; FAX  (905)413-4839

             "Oleg Dulin"                                                  
             de.com>                                                    To 
             05/17/2004 12:58                                           cc 
                                       Using a precompiled translet from   

Dear Distinguished Colleagues:

I need to package my XSLs as precompiled translets.

However, I can?t figure out how to actually use the precompiled translets
(load the class, instantiate and use) from Java.

I am using the latest Xalan-J. Any thoughts, and code fragments are greatly


View raw message