cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaroslaw Kutylowski" <JKutylow...@axit.pl>
Subject RE: Logicsheets tags in private logicsheet
Date Fri, 01 Jun 2001 14:36:24 GMT
Hi Aurelien

Another solution could be telling cocoon to parse the esql stylesheet the
hard way: <?xml-logicsheet href="esql.xsl"?>.
This requires of course putting the esql.xsl into the directory where
dicolx.xsl is located (you can find esql.xsl somewhere
in the sources for cocoon), but i think it provides better reusability than
including the esql namespace in every project file.

-----Original Message-----
From: paint007@mc.duke.edu [mailto:paint007@mc.duke.edu]
Sent: Friday, June 01, 2001 4:24 PM
To: cocoon-users@xml.apache.org
Subject: Re: Logicsheets tags in private logicsheet



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>


---------------------------------------------------------------------
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