Subject: RE: Saxon SQL extension
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 27 Jun 2007 18:06:40 +0100
|
Questions specific to Saxon are best asked on the saxon-help list, go to the
saxon project on SourceForge to find it.
The answer to this one is that you need to have saxon8-sql.jar on your
classpath.
Michael Kay
http://www.saxonica.com/
> -----Original Message-----
> From: Mario Madunic [mailto:hajduk@xxxxxxxx]
> Sent: 27 June 2007 17:04
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Saxon SQL extension
>
> Been following the discussion on the Saxon SQL Extension with
> interest and decided to give it a try as this will fit into a
> project I'm working on at the moment.
>
> If this is off topic I do apologize in advance.
>
> I'm using the latest saxon8.jar (8.9.0.4) from the command
> line and the XSLT and XML files are from the Saxonica site.
>
> I get the following error message:
> ------------------------------------
> java -jar saxon8.jar books.xml sql.xsl
>
> Warning: at xsl:stylesheet on line 9 of file:/C:/RBI/sqlTest/sql.xsl:
> Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
> sql:connect is not available Connecting to jdbc:odbc:test...
> SQL extensions are not installed
> Processing terminated by xsl:message at line 28 in sql.xsl
> ------------------------------------
>
> In the example it doesn't use the jar file but a call to a
> Java class (I guess as am not Java savvy). Now I'm guessing
> that is my problem or that I need the commercial version of
> Saxon to run this extension.
>
> Any help in getting this example up and running will be
> greatly appreciated.
>
> Marijan (Mario) Madunic
|