cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geert Poels" <Geert.Po...@thales-is.com>
Subject difference between xsp-session and session
Date Thu, 29 Aug 2002 10:00:28 GMT
Hi,

I was browsing Cocoon documentation and wondered what
the difference in use and definition was between 
using 
xmlns:session="http://apache.org/xsp/session/2.0"
and
xmlns:xsp-session="http://apache.org/xsp/session/2.0"

and also referencing it in code as
<session:get-attribute name="somename"/>
or 
<xsp-session:get-attribute name="somename"/>

Examples are shown at
http://xml.apache.org/cocoon/userdocs/xsp/sessions.html

Yet the second to last example at :
http://xml.apache.org/cocoon/userdocs/xsp/session.html

uses xmlns:session="http://apache.org/xsp/session/2.0"
yet references it using xsp-session

<?xml version="1.0" encoding="iso-8859-1"?>
<xsp:page
   language="java"
   xmlns:xsp="http://apache.org/xsp"
   xmlns:session="http://apache.org/xsp/session/2.0"
   xmlns:xsp-request="http://apache.org/xsp/request/2.0"
>

....
    <para> Session ID = <xsp-session:get-id as="xml"/> </para>
</xsp:page>
....

Thanks,

Geert

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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