Re: [xsl] Saxon SQL extension

Subject: Re: [xsl] Saxon SQL extension
From: Mario Madunic <hajduk@xxxxxxxx>
Date: Wed, 27 Jun 2007 09:49:27 -0700
Changed the version="1.0" to "2.0". I get basically the same error message minus
the "Running an XSLT 1.0 stylesheet..." 

Marijan (Mario) Madunic

Quoting Manfred Staudinger <manfred.staudinger@xxxxxxxxx>:

> Hi Marijan,
> 
> I think in the example the version="2.0" attribute for the stylesheet is
> missing.
> 
> Manfred
> 
> 
> On 27/06/07, Mario Madunic <hajduk@xxxxxxxx> wrote:
> > 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

Current Thread