xsl-list
[Top] [All Lists]

RE: [xsl] RE: How to call an external Java function

2009-01-09 11:10:35
Florent - thanks much. The Saxon documentation says to use 
"com.icl.saxon.StyleSheet" which doesn't work. When I use 
"net.sf.saxon.Transform" per your suggestion it works great. I'm guessing this 
is what I will need to make it run properly in my Unix environment. Thanks very 
much for your help.

Steve

-----Original Message-----
From: Florent Georges [mailto:lists(_at_)fgeorges(_dot_)org]
Sent: Friday, January 09, 2009 9:40 AM
To: XSL Mulberry list
Subject: Re: [xsl] RE: How to call an external Java function

"Ylvisaker, Steve" wrote:

    java -cp ... -jar .../saxon9.jar ...

Yes - that is the command line I am using. I'm not very concerned
because Unix is my ultimate target environment and I doubt that I will
have similar problems there.

  As Owen said, this has nothing to do with the OS, but with Java itself.  The 
-jar option makes the JVM to ignore the classpath.  You have to change it into 
something like:

    java -cp "...;.../saxon9.jar" net.sf.saxon.Transform ...

  See the Saxon doc and the links provided by Owen.

  Regards,

--
Florent Georges
http://www.fgeorges.org/

























--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


[CONFIDENTIALITY AND PRIVACY NOTICE]

Information transmitted by this email is proprietary to Medtronic and is 
intended for use only by the individual or entity to which it is addressed, and 
may contain information that is private, privileged, confidential or exempt 
from disclosure under applicable law. If you are not the intended recipient or 
it appears that this mail has been forwarded to you without proper authority, 
you are notified that any use or dissemination of this information in any 
manner is strictly prohibited. In such cases, please delete this mail from your 
records.
 
To view this notice in other languages you can either select the following link 
or manually copy and paste the link into the address bar of a web browser: 
http://emaildisclaimer.medtronic.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--