cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morten <mor...@zoomsports.com>
Subject xsp in variable declaration
Date Wed, 01 Nov 2000 11:19:48 GMT
Hi, 

Is it not possible to use <xsp:expr></xsp:expr> in a variable declaration?

My xsl:

________

<xsp:logic>
<list>

String find = "hello";

<xsl:variable name="finding">
 <xsp:expr>find</xsp:expr>
</xsl:variable> 


<find1>searching for <xsl:value-of select="$finding"/></find1>

<find2><xsp:expr>find</xsp:expr></find2>


</list>
</xsp:logic>
________

$finding now just contains the word 'find ' (my String variable name).

find1 = > find
find2 => hello

<xsp:expr>find</xsp:expr> will evaluate correctly everywhere else, except in my
variable declaration.


Regards,

Morten Pihl






Mime
View raw message