You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Matt Rich <ma...@pasteur.fr> on 2004/07/22 09:52:32 UTC

Linking SQL Transformer and XSL Transformer

Hello!

I'm currently trying to display sql request results in dropdown menus .

I think i must have three Transformers in my pipeline:

- I generate the requests from an XMl file through an XSL Transformer
- Then I try to execute the generated requests through an SQL 
Transformer
- Then I must rearrange the  results '  presentation with another XSL 
Transformer

Is that correct ?

(As for now, the problem must be I don't manage to generate the <sql: 
...> tags so that they can be read by the transformer :
I' ve tried this way :
          <xsl:element name="sql:execute-query">
         <xsl:attribute name="xmlns:sql" 
namespace="http://apache.org/cocoon/SQL/2.0"/>)

Has anybody an idea?

Many thanks in advance!!!

Matt


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


Re: Linking SQL Transformer and XSL Transformer

Posted by Olivier Billard <ob...@jouve.fr>.
Hi Matt,

Using XSP and the ESQL taglib is way simpler for your example.
see http://cocoon.apache.org/2.1/userdocs/xsp/esql.html

Matt Rich wrote:
> 
> Hello!
> 
> I'm currently trying to display sql request results in dropdown menus .
> 
> I think i must have three Transformers in my pipeline:
> 
> - I generate the requests from an XMl file through an XSL Transformer
> - Then I try to execute the generated requests through an SQL Transformer
> - Then I must rearrange the  results '  presentation with another XSL 
> Transformer
> 
> Is that correct ?
> 
> (As for now, the problem must be I don't manage to generate the <sql: 
> ...> tags so that they can be read by the transformer :
> I' ve tried this way :
>          <xsl:element name="sql:execute-query">
>         <xsl:attribute name="xmlns:sql" 
> namespace="http://apache.org/cocoon/SQL/2.0"/>)
> 
> Has anybody an idea?
> 
> Many thanks in advance!!!
> 
> Matt


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