cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kaufman Ng" <kaufman...@viant.com>
Subject xalan extensions in cocoon
Date Wed, 05 Jul 2000 14:37:48 GMT

Has anyone tried using xalan extensions in cocoon?  I have configured cocoon
to use xalan 1.1.D01 but I couldn't get my xsl to read in a java class.

http://xml.apache.org/xalan/extensions.html#java-namespace

-kng


> -----Original Message-----
> From: Eric SCHAEFFER [mailto:eschaeffer@posterconseil.com]
> Sent: Wednesday, July 05, 2000 8:26 AM
> To: cocoon-users@xml.apache.org
> Subject: Re: assigning xsp expressions to xsl variables
>
>
> 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
> >
>
>
> ---------------------------------------------------------------------
> 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