You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Geert Poels <Ge...@thales-is.com> on 2002/08/29 12:00:28 UTC

difference between xsp-session and session

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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>