Hi,
I am using Xalan 2 extensions.
I want to connect to Oracle and query database and select few values and
display it through XSL.
I am trying to run the samples program that is coming along with xalan
download. (inside extensions\sql\basic-connection directory).
I am using the oracle driver, oracle.jdbc.driver.OracleDriver. I have
changed the parameters(datasource, driver, username, pwd) inside dbtest.xsl.
When I use this driver to connect to database through xsl, I am getting the
error,
"No Suitable Driver".
The driver is in the classpath(classes12.zip)
When I tried the same program with a different
driver(sun.jdbc.odbc.JdbcOdbcDriver), it works fine.
Is Xalan doesnt support this Oracle driver??
please help
here is my parameters:
<xsl :p aram name="driver" select="'oracle.jdbc.driver.OracleDriver'"/>
<xsl :p aram name="datasource"
select="'
jdbc racle:thin:@172.22.1.44:1521
bn009'"/>
<xsl :p aram name="query" select="'select * from TBL_Document_type'"/>
<xsl :p aram name="username" select="'uid'"/>
<xsl :p aram name="passwd" select="'pwd'"/>
regards
s.arun prasath
[ December 04, 2003: Message edited by: Arun Prasath ]