You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by gi...@credit-suisse.ch on 2000/01/21 08:17:35 UTC
RE: usage of SQLProcessor ?@var?
I do such things regularly agains a mySQL DB. No Problem!
-- Giacomo
> -----Original Message-----
> From: cocoon-dev-return-1320-giacomo.pati=cred
> [mailto:cocoon-dev-return-1320-giacomo.pati=credit-suisse.ch@x
> ml.apache.
> org]
> Sent: Friday, January 21, 2000 6:49 AM
> To: cocoon-dev
> Subject: usage of SQLProcessor ?@var?
>
>
> Hi All,
>
> Anyone have try out the parameter subsitution {@var} feature of Cocoon
> 1.6 SQL Processor? Is there any real example I can learn from?
>
> Actually, I've try loading my XML page like
> http://localhost/sql/database-page.xml?var=123
>
> where database-page.xml contains the following query:
>
> <query connection="test_connection" doc-element="">
> select col1, col2, col3 from table1 where col1={@var}
> </query>
>
> but it doesn't work.
>
> Mike
>
>
>