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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to