You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by go...@osmosis.gr on 2004/05/19 17:49:17 UTC

cookie logicsheet - name as element not attribute

hi 

is it possible
to set the name of the cookie not as attribute but as child element

instead of this code:
<xsp-cookie:cookie name="subject_group">
 <xsp-cookie:value>
  <xsp:expr>subject_group</xsp:expr>
 </xsp-cookie:value>
</xsp-cookie:cookie>

to have something like this:
<xsp-cookie:cookie>

 <xsp-cookie:name>subject_group</xsp-cookie:name>

 <xsp-cookie:value>
  <xsp:expr>subject_group</xsp:expr>
 </xsp-cookie:value>
</xsp-cookie:cookie>


and this because i have the cookie name in a variable so i need to have 
something like this:

<xsp-cookie:cookie>                     
 
 <xsp-cookie:name><xsp:expr>my_var</xsp:expr></xsp-cookie:name>


is it possible?

thanx 

--stavros


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org