Am Apr 1, 2006 um 13:23 schrieb Trevor Glen:

Jann Forrer wrote:
If just recently integrate a simple sql example into an existin page
using the SQLTransformer. That was quite easy to achieve. I did only add
the sql transformation into doctypes.xmap like:

map:transform type="sql" label="raw">
           <map:parameter name="dburl"
value="jdbc:mysql://mysql.host:3306/database?autoReconnect=true"/>
           <map:parameter name="username" value="name"/>
           <map:parameter name="password" value="password"/>
        </map:transform>
        <map:transform src="lenya/xslt/databases/sql2html.xsl"/>

In an content xml document i have the following entries:

    .....
    <sql:execute-query>
       <sql:query>SELECT .......</sql:query>
    </sql:execute-query>
    ...



Hi,

We work on a similar solution. In our case the sql-query string is generated at runtime (reading a parameter from a metadata field). What kind of precautions have to be taken to prevent or finetune the caching behaviour for such (dynamic) pages?

Jürgen





Thanks Jann, I think this is pretty much what I need.

Thanks a lot.

Trev
--
Trevor Glen <[EMAIL PROTECTED]>
Sarugo: Securing your digital memories.
http://www.sarugo.net/

Why not give Sarugo Backup a try? http://www.sarugo.net/register

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to