cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric SCHAEFFER" <eschaef...@posterconseil.com>
Subject Re: assigning xsp expressions to xsl variables
Date Wed, 05 Jul 2000 12:25:54 GMT
Use Xalan XSLT extensions.

Eric.

----- Original Message -----
From: "Michael Bierenfeld" <michael.bierenfeld@atmiralis.de>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, July 05, 2000 1:09 PM
Subject: Re: assigning xsp expressions to xsl variables


> Kaufman Ng wrote:
> >
> > Hi,
> >
> > I'm trying to assign a xsl variable to have a value of a Java
expression.
> > The expression is actually an xsp expression like this:
> >
> > <xsp:logic>
> >         Calendar calendar = Calendar.getInstance();
> > </xsp:logic>
> >
> > <xsl:variable
> >
name="foo"><xsp:expr>calendar.get(Calendar.DATE)</xsp:expr></xsl:variable>
> >
> > When displaying the result of the same xsp expression to html, it looks
> > fine.  But not so when I try to display foo.  On the screen I see
> > "calendar.get(Calendar.DATE)" instead of "5" (the current day of the
month).
> >
> > Any ideas?  Am I not supposed to pass data between xsp and xsl?
> >
> > Thanks!
> >
> > -kng
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>
> Sorry this is not possible. See previuous Threads
> ;-(
>
> Regards
>
> Michael
>
> ---------------------------------------------------------------------
> 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