cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Neu" <peter....@gmx.net>
Subject SQLTransf. How to arrange multiple queries?
Date Mon, 23 Jan 2006 08:33:11 GMT
Hello,

I would like to to put multiple sql queries into the sql.xml file like this:


<execute-query name="users" xmlns="http://apache.org/cocoon/SQL/2.0" >

  <!-- Query this in step 1 -->
   <query name="users">
    SELECT * FROM USERS
  </query>

   <!-- Query this in step n -->
   <query name="hobby">
    SELECT * FROM Hobby
  </query>
 </execute-query>

These 2 queries are not queried at the same step but each at some different
time. 

Normally I would have to write them into separate files but I want to have
them in the same document so I don't have have say twenty sql.xml documents
containing each one sql statement. 

How can I do this?

Cheers,
Pete



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message