You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Donald Ball <ba...@webslingerZ.com> on 2001/01/31 03:08:39 UTC
Re: changes:cocoon 1.8
On Thu, 3 Aug 2000, Lic. Andres H. Voldman wrote:
> What does this mean???
>
> Request headers (prefixed by R_) and cookies (prefixed by C_) are now passed
> to stylesheets, as well as request parameters. (RDG) Thanks to Ovidiu
> Predescu.
>
>
> I access Request parameters with <xsl:param/> and cookies with xsp
> logicsheets.
>
> but I don't understand what the modification was.
it means that you can access the value of the cookie named foo by
declaring:
<xsl:param name="C_foo"/>
under the root element of your stylesheets. personally, i don't like this
method of accessing that data - it looks ugly and there's the possibility
of name collisions. however, i doubt we'll think of anything more elegant
until xslt-1.1 rolls around.
- donald