You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by "Wolf, Chris (IT)" <Ch...@morganstanley.com> on 2004/12/30 05:49:49 UTC

FW: I cannot override default Xalan impl in Java Plugin for applets

Forwarding to the users's group in case some one here can help me... 

-----Original Message-----
From: Wolf, Chris (IT) 
Sent: Wednesday, December 29, 2004 1:44 PM
To: xalan-dev@xml.apache.org
Subject: I cannot override default Xalan impl in Java Plugin for applets

I want to run the example transformation applet, using the java
plugin for IE and/or Firefox.  

(See: http://xml.apache.org/xalan-j/samples.html#appletxmltohtml)


The current implementation release for the JRE browser plugin 
is 1.4.2_5.  This means that TRaX will use the JRE-builtin
implementation,
which is Xalan-2.4.1 and the JAXP JRE-builtin parser implementation
which is crimson.  However, I want to use different parser and
transformer
implmenetations.

I changed the applet tag so it looks like:


    <applet  
      name="xslControl"
      code="org.apache.xalan.client.XSLTProcessorApplet.class"
 
archive="file:///c:/dist/java/xerces/2.6.2/lib/xerces_xml-apis.jar, 
                   file:///c:/dist/java/xerces/2.6.2/lib/xerces.jar, 
                   file:///c:/dist/java/xalan/2.6.0/lib/xalan.jar,
                   file:///c:/opt/lib/xmlsniffer.jar"
      height="0"
      width="0">
      <param name="documentURL" value="xalanApplets.xml"/>  <!--default
setting-->
      <param name="styleURL" value="s1ToHTML.xsl"/> <!--doesn't
change-->
    </applet>


This successfully overrode crimson with Xerces-2.6.0, however it is 
still using the builtin Xalan-2.4.1 -- not Xalan-2.6.2, as I was hoping.

Does anyone have any idea how I can change the transformer
implementation
that an applet uses? 
--------------------------------------------------------
 
NOTICE: If received in error, please destroy and notify sender.  Sender
does not waive confidentiality or privilege, and use is prohibited. 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org 
--------------------------------------------------------
 
NOTICE: If received in error, please destroy and notify sender.  Sender does not waive confidentiality or privilege, and use is prohibited.