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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 01, 2001 4:24 PM
To: [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>