XSQL and xsl problem
From: <krishna_shroff_at_my-deja.com>
Date: Wed, 11 Oct 2000 22:41:27 GMT
Message-ID: <8s2qan$3v9$1_at_nnrp1.deja.com>
Date: Wed, 11 Oct 2000 22:41:27 GMT
Message-ID: <8s2qan$3v9$1_at_nnrp1.deja.com>
I want to write xsl:if statments inside my XSQL file.
Like
<xsql:query Keyword="%"
null-indicator="yes"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:choose>
<xsl:when test="3 > 2">
select
client,survey_data,technology,office,contact_name,emarket_type,price_str
ucture from survey where surveyid= {_at_id}
</xsl:when>
<xsl:otherwise>
select * from survey where surveyid=1
</xsl:otherwise>
</xsl:choose>
I always get an error saying on "sql statment selected".
Any ideas would be appreciated.
Krishna
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Thu Oct 12 2000 - 00:41:27 CEST