Hi, Henrik

I've never tested SQL extension sample with postgresql, but it works fine
with MySQL. Make sure that you have the JDBC driver in the classpath,
specify correct datasource param and have your database running.

Christine Li
XSLT Development
IBM Toronto Lab
Tel: (905)413-2601
Email: [EMAIL PROTECTED]

"henrik rathje " <[EMAIL PROTECTED]> wrote on 04/08/2004 07:08:25 AM:

> Hi,
> I tried to run the basic connection example dbtest.xsl
> (http://xml.apache.org/xalan-j/samples.html#basic-conn).
> I modified the jdbc driver name as follows:
> <xsl:param name="driver" select="'org.postgresql.Driver'"/>
> As a result i get a "No suitable driver" message.
> From the same directory where i run the dbtest.xsl i can successfully run

> a java program which queries the database an uses this driver:
> Class.forName("org.postgresql.Driver").
> anyone an idea what went wrong?
> regards, henrik
>
> Online einkaufen mit der Lycos Barclaycard. Die Visakarte für nur
> EUR 1 monatlich. Info unter http://www.lycos.
> de/startseite/geld_boerse/private_finanzen/barclay/microsite/index.
> html?whichpage=mail_tag
>

Reply via email to