xsl-list
[Top] [All Lists]

Re: [xsl] jar in stylesheets

2011-09-30 03:33:05

Your class name suggests this might be a Saxon question? (If so, it would be better asked on the Saxon list...)

To do this you would have to either implement a custom Java ClassLoader (which isn't actually as frightening as it sounds), or a custom Saxon JavaExtensionLibrary (which could be done by subclassing the standard one).

Michael Kay
Saxonica

On 30/09/2011 08:20, Szabo, Patrick (LNG-VIE) wrote:
Hi,

Im using a function from a jar file in my stylesheet.
Currently i put the jar into the CLASSPATH and put this into my
stylesheet:

xmlns:tabconv="java:de.lexis.toast.xslt.SaxonTableConvertExtension"

and call the function like this (e.g.):

<xsl:variable name="newTable" select="tabconv:convertTable(.)"/>

My question is can i somehow give the stylesheets the absolute path to
the jar instead of having to add the jar to the CLASSPATH ?!

Kind regards

. . . . . . . . . . . . . . . . . . . . . . . . . .
Ing. Patrick Szabo
  XSLT Developer
LexisNexis
Marxergasse 25, 1030 Wien

mailto:patrick(_dot_)szabo(_at_)lexisnexis(_dot_)at
Tel.: 00431 534521573
Fax: +43 (1) 534 52 - 146






--~------------------------------------------------------------------
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>
--~--




--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>