cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <>
Subject Re: sql connection
Date Thu, 06 Jul 2000 17:46:23 GMT
On Thu, 6 Jul 2000, Torsten Curdt wrote:

> Right now I'm doing a <sql:execute-query>
> in a template which gives us the desired data.
> But I don't want to specify the database connection
> in every page! I tried to use <xsl:include> to include
> the database connection specific fields but that
> gives me a "xsl:include is not allowed inside a template"
> Is there a way to separate the connection definition
> from the page?

1. you can use external entities (blech)
2. you can use xinclude processor (yeah!)
3. you can use util:include-uri logicsheet element
4. you can use brian's (as yet undocumented) connection pooling code i
just checked into cvs

- donald

View raw message