Hi all,

Apologies for the relatively low level of this email but someone out
there must be able to answer in 1 min what I have been failing to do for
days now.

This simple XSP file:

<?xml version="1.0"?>
<xsp:page
  xmlns:xsp="http://apache.org/xsp";
  xmlns:xsp-session="http://apache.org/xsp/session/2.0";
  create-session="true">

  <page>
    <xsp-session:set-attribute
name="fruit">Apple</xsp-session:set-attribute>
    <fruit><xsp-session:get-attribute name="fruit"/></fruit>
  </page>

</xsp:page>

Should produce the following XML right?

<page>
  <fruit>Apple</fruit>
</page>

What am I doing wrong if the session attributes are being ignored and I
get the following XML

  <page>
    <xsp-session:set-attribute
name="fruit">Apple</xsp-session:set-attribute>
    <fruit><xsp-session:get-attribute name="fruit"/></fruit>
  </page>

Again my apologies if I have missed the obvious but this example if off
the cocoon site and should work?!

Thanks

Tom


---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to