cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Arnod-Prin <sarnodp...@dxd2.com>
Subject [C2] How to give intelligence to XSL ??
Date Tue, 02 Oct 2001 12:50:32 GMT

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

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