cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric SCHAEFFER" <eschaef...@posterconseil.com>
Subject Re: xsp:logic
Date Thu, 10 Aug 2000 07:22:05 GMT
Do you know how XSP work ?

All XSLT transformations are done first (standard XSLT + taglibs) to create
a Java file, that is then compiled into a producer.

Have a look at the repository directory ...

Eric.

----- Original Message -----
From: "David Pettersson" <dave@se.linux.org>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, August 09, 2000 8:51 PM
Subject: Re: xsp:logic


> On Wed, Aug 09, 2000 at 10:57:41AM +0200, Eric SCHAEFFER wrote:
>
> > Look at the generated java file (in reporitory).
> > Maybe you don't use XSP tags correctly...
> >
> > Eric.
>
> That isn't the problem. The problem is that the string contains quotes,
> which have to be escaped or the compiler will be confused. So this:
>
> > >   String data="<xsl:value-of select="text()" />";
>
> should really be written like this:
>
>   String data = "<xsl:value-of select=\"text()\" />";
>
> Please note the '\' characters. Pick up a Java-textbook and read more
about
> string handling.
>
> Dave
>
> --
> David Pettersson                            dave@se.linux.org
>                                             http://eeyore.se.linux.org
>                                             PGP key available on request.
>
>
> ---------------------------------------------------------------------
> 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