cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Mayring <u...@denic.de>
Subject Re: XSP and SQL in a well formed .XML: but got an Syntaxerror by SQL
Date Tue, 14 Nov 2000 17:37:39 GMT
Christian Parpart wrote:
> 
> Hi
> 
> I wrote a short module (land-data.xml) using XSP and SQL inside.
> Cocoon-1.8 always says there is an Syntaxerror! Why?
> 
>   <sql:query>
>     SELECT Name, Kontinent
>       FROM Land
>       WHERE Name='<xsp:expr>request.getParameter("Name")</xsp:expr>';
>   </sql:query>
> 
> What's wrong? (see attachment)

I think you have to write the query all on one line.

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

Mime
View raw message