Hi Henry Sorry, I was out of office for a couple of days .
Here is what I could do through command line compilation ava org.apache.xalan.xsltc.cmdline.Compile -j D:\tomcat\webapps\centauri\translets.jar -p com.centauri.xsltc -x D:\tomcat\webapps\centauri\index.xsl and I can get the translets.jar file My question is how do I use the translets.jar file in tomcat, where my web-architecture renders XML Streamed documents using the XSL stylesheets. Can I replace the Stylesheet XSL files with the Java Classes and the Transformer should pickup the Java classes rather than the XSL stylesheets? I know it is kind of tied to my product architecture, but just wanted to get your thoughts if there is a easy way to some kind of Smart transformations. Thanx! Raj Henry Zongaro wrote: > > Hi, Raj. > > Rajesh Jain <[EMAIL PROTECTED]> wrote on 2008-04-15 03:59:46 PM: >> I tried to set >> -Djavax.xml.transform.TransformerFactory=org.apache.xalan.xsltc. >> trax.TransformerFactoryImpl >> >> and now I have Transformer errors in my tomcat log file. Do I need to > add >> any additional jar files if I want to use XLTC >> >> Caused by: javax.xml.transform.TransformerConfigurationException: Could > not >> compile stylesheet > > > So given that error, we can conclude that you were probably not using > XSLTC before. > > Are you able to share the stylesheet? If not, I suggest you try compiling > it with XSLTC from the command-line using > org.apache.xalan.xsltc.cmdline.Compile in order to see whether you can > trim it down to something smaller that reproduces the failure. > > Thanks, > > Henry > ------------------------------------------------------------------ > Henry Zongaro > XML Transformation & Query Development > IBM Toronto Lab T/L 313-6044; Phone +1 905 413-6044 > mailto:[EMAIL PROTECTED] > > -- View this message in context: http://www.nabble.com/Performance-Issues-tp16687005p16824707.html Sent from the Xalan - J - Users mailing list archive at Nabble.com.
