Hi,

i am using the session logic sheet with C2b1. The only thing
i can think why it does not work with you is that the namespace
for the session logicsheet is not correct. i use the following:
...
 xmlns:session="http://apache.org/xsp/session/2.0";
...


Max

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Samuel
Arnod-Prin
Sent: Dienstag, 2. Oktober 2001 15:14
To: [EMAIL PROTECTED]
Subject: [C2] How to give intelligence to XSL ???


Hello,

I would like someone to help me to resolve a simple problem :

I've got a few xml files...   page_X.xml
all page_X.xml are transformed using pages.xsl


In pages.xsl, I would like to add <a href="edit.xsp">EDIT ME!</a> only
if request.getSession().getAttribute("editable") equals "1" ..

how can I do ?? I don't want to add java code into my xml files... I
want them in xml not xsp...
what is the solution ??

There seems to be a session logicsheets in cocoon doc, but only for
c1... I've tried for c2, but it always return blank (for example
<session:get-creation-time/>)

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

Reply via email to