cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo.p...@credit-suisse.ch
Subject RE: usage of SQLProcessor ?@var?
Date Fri, 21 Jan 2000 07:17:35 GMT
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
> 
> 
> 

Mime
View raw message