cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niels van Kampenhout <n.vankampenh...@hippo.nl>
Subject Re: Problem with SQLTransformer
Date Thu, 26 Jul 2007 12:19:24 GMT
Michel Gutierrez wrote:
> There is certainly a stupid reason but i've spend a few hours to make 
> the SQLTransformer work without success. Hopefully someone will point me 
> out what i'm doing wrong.
> 
> I try to use the sql transformation but the xml goes through the 
> transformer sheet unchanged, the <sql:xxx> elements are not executed and 
> reach the serializer.
> 
> The source XML: sql-select-themes.xml
> <?xml version="1.0"?>
> <page>
>     <execute-query xmlns="http://apache.org/cocoon/SQL/v2">
>         <query>SELECT nom FROM Theme</query>
>     </execute-query>
> </page>

I think the namespace is incorrect, according to [1] it should be 
"http://apache.org/cocoon/SQL/2.0", not "http://apache.org/cocoon/SQL/v2".

Hope this helps,

Niels

[1] http://cocoon.apache.org/2.1/userdocs/sql-transformer.html




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message