cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean" <jaka...@wideasleep.com>
Subject xsl:variable and logicsheets
Date Fri, 27 Apr 2001 03:50:00 GMT
I was wondering, can someone tell me why this would not work?  I keep
getting an error ...

<xsp:page>
    <xsl:variable name="rand"><my-util:random-number
ceiling="10"/></xsl:variable>

    <message>the number is <xsl:value-of select="$rand"/></message>
</xsp:page>

I am trying to store the output of a xsp logicsheet, which returns a number,
into an xsl variable and then I want to use it later.  If i just put the
<my-util:random-number ceiling="10"/> in the <message> itself it works but i
need it stored in a variable.

Thanks,
Sean


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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