cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paint...@mc.duke.edu
Subject Re: Logicsheets tags in private logicsheet
Date Fri, 01 Jun 2001 14:24:09 GMT

Aurélien,

this should work (I do it frequently).  You need to declare the esql
namespace in both your logicsheet and in any XSP programs that use your
logicsheet (even if they do not use esql directly).

-Christopher




Please respond to cocoon-users@xml.apache.org

To:   cocoon-users@xml.apache.org
cc:

Subject:  Logicsheets tags in private logicsheet


Hello.

I'am writing my own logicsheet for a little news engine. I want to
have some tags to make SQL queries, so I write something like that in
my logicsheet file:


  <xsl:template match="dicolx:topics-list">
    <box title="Topics" id="menu">
      <esql:connection>
     <esql:pool>dicolx</esql:pool>
     <esql:execute-query>
       <esql:query>

           ** QUERY **

       </esql:query>
       <esql:results>

            ** RESULTS **

       </esql:results>
     </esql:execute-query>
      </esql:connection>
    </box>
  </xsl:template>

But the esql taglib is not handled by the esql logicsheet. Is there
anyway to do this?

--
Aurélien





---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message