xsl-list
[Top] [All Lists]

Re: [xsl] Saxon SQL extension

2007-06-27 09:49:51

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(_dot_)staudinger(_at_)gmail(_dot_)com>:

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(_at_)imag(_dot_)net> 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



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





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