Hi Mukul,
In WSAD 5.1.2, when you start WebSphere Test Environment for base_v5 (WTE
5), another jvm is started for WTE. WebSphere 5 starts in this jvm and load
the jar files that are located in lib directory.
Then, you publish the servlet application on WTE and invoke the servlet.
When servlet is invoked, JVM finds the xalan specific classes with
libraries that are loaded for WTE.

You can pick up your own copy of xalan.jar in the classpath.  However, this
information is in scope of usage of WebSphere and not xalan.  For this
information, please have a look at WAS Info center for version 5.  I
bellieve there are properties such as PARENT_FIRST / PARENT_LAST in
WebSphere that you can set in order to pick up your own copy of xalan.jar
before WTE libraries are picked.  Even WSAD help section should have this
information.

I hope this helps!
Thanks!

Yash Talwar
XSLT Development / Xalan
IBM Toronto Lab
EMail: [EMAIL PROTECTED]
Phone #:  905-413-5920


                                                                           
             Mukul Gandhi                                                  
             <[EMAIL PROTECTED]                                             
             il.com>                                                    To 
                                       Henry Zongaro/Toronto/[EMAIL PROTECTED]  
   
             07/13/2005 03:14                                           cc 
             PM                        [email protected]        
                                                                   Subject 
                                       Re: WSAD - Getting to know Xalan-J  
             Please respond to         version                             
               Mukul Gandhi                                                
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Thank you for reply. I'll check it.. In my WSAD installation, there is
xalan.jar at location E:\Program Files\IBM\WebSphere
Studio\runtimes\base_v5\lib. So Xalan is bundled with WSAD. It seem to
be hooked to JAXP internally. But how? Is there some IBM JRE
configuration file somewhere? I also have another xalan.jar(for
Xalan-j 2.6.0) in CLASSPATH which is the latest distributable from
Apache's site http://xml.apache.org.

I am thinking how can I use both Xalans to work simultaneously on my
PC. Any ideas please?

Regards,
Mukul

On 7/13/05, Henry Zongaro <[EMAIL PROTECTED]> wrote:
> Hi, Mukul.
>
> Mukul Gandhi <[EMAIL PROTECTED]> wrote on 2005-07-13 07:21:52 AM:
> > Sorry if this question is off-topic. I am developing a JAXP(using TrAX
> > API) application in WSAD 5.1.2. I have actually written a Servlet
> > which does XSLT transformation using TrAX API. I am successfully
> > getting the transformation result on the browser.
> >
> > I believe IBM JRE and Xalan-J is being used behind the scenes. I am
> > interested to know which version of Xalan-J is being used. How can I
> > find this information?
>
>     You can try invoking the org.apache.xalan.Version class.  If it's a
> copy of Xalan-J that's included with the IBM JRE, the name will be
XSLT4J.
>  The version number of XSLT4J has a rough correspondence with that of
> Xalan-J, but the two are not entirely identical.
>
> Thanks,
>
> Henry
> ------------------------------------------------------------------
> Henry Zongaro      Xalan development
> IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
> mailto:[EMAIL PROTECTED]
>
>


Reply via email to