cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clark C. Evans" <clark.ev...@manhattanproject.com>
Subject Re: new version of SQLProcessor checked in
Date Thu, 16 Dec 1999 09:53:53 GMT


On Thu, 16 Dec 1999, Donald Ball wrote:
> <connection
>  id="test"
>  driver="org.gjt.mm.mysql.Driver"
>  dburl="jdbc:mysql://mysql.example.com/test"
>  doc-element="options"
>  row-element="option"
>  error-element="sqlerror"
>  error-message-attribute="message"
> />
> 
> <query extends="connection.test">
>  select id,name from foo_table
> </query>

Why "connection.test" and not just "test" ?  
I'm really skeptical about concatination
like this.   How about:

<query extends-element="connection" extends-id="test" >
...
</query>


BTW, the nested query syntax looks kool.  Been 
wanting for this some time.

Thanks!

Clark





Mime
View raw message