This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSQL & XSL - translation difficulties (newbie problem)
- To: xsl-list at mulberrytech dot com
- Subject: Re: XSQL & XSL - translation difficulties (newbie problem)
- From: Alex Golden F-65 coop <agolden at mitre dot org>
- Date: Wed, 19 Jul 2000 16:34:51 -0400
- Organization: Mitre
- References: <3975CB48.9FD1CF2C@mitre.org> <3975E82A.22FA4677@firstech.com>
- Reply-To: xsl-list at mulberrytech dot com
After I wrote I too tested the XSL file on a "hardcoded" XML file and it
worked for me too... Now I think it's a problem with the XSQL file... I'm
fairly sure that when I include the stylesheet like so:
<?xml version = '1.0'?>
<?xml-stylesheet type="text/xsl" href="security_clearance.xsl"?>
<xsql:security_clearances xmlns:xsql="urn:oracle-xsql" connection="caat">
<xsql:query>
select *
from security_clearances
</xsql:query>
</xsql:security_clearances>
it doesn't process the <xsql:query> as a query... But the following file
successfully queries the database and returns results:
<?xml version = '1.0'?>cat test
<xsql:security_clearances xmlns:xsql="urn:oracle-xsql" connection="caat">
<xsql:query>
select *
from security_clearances
</xsql:query>
</xsql:security_clearances>
So for some reason, in the first XSQL file, it doesn't actually query the
database... But I know that querying works because if I load the second XSQL
file then it queries the database as it should... I'm stumped, thanks for any
advice!
-Alex
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list