Subject: xsl: javascript function.
From: smoghe@xxxxxxxxxxxx
Date: Thu, 16 Sep 1999 13:59:22 +0530
|
Hi there,
I have problem in using Javascript in XSL.
I'm using <xsl:if>, for comparing value returned by a Javascript function.
I'm not able to compare the value returned by Javascript function.
The program is as follows:- My syntax may be wrong, please suggest the
right syntax.
<xsl:if test='[js:getNumber()>5]'>
</xsl:if>
Here I just want to check value returned by function "js:getNumber()",
whether it is greater than 5.
Please correct me.
Thanx, in advance.
########################################
Surendra Moghe
Ditools Software (India) Pvt. Ltd.
smoghe@xxxxxxxxxxxx
########################################
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|