This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Output of a Jscript variable
- From: "Sébastien Tisserant" <stisserant at europarl dot eu dot int>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 08 May 2002 09:16:36 +0200
- Subject: [xsl] Output of a Jscript variable
- Reply-to: xsl-list at lists dot mulberrytech dot com
hello,
i have an XSL with that script:
<msxsl:script language="JavaScript" implements-prefix="fct"> var xfils=new Array(); var xnum=new Array(); var dernier=0; var CPTnum=0; function FnNewFils(valeur) { dernier=dernier+1; xfils[dernier]=valeur; CPTnum=CPTnum+1; xnum[dernier]=CPTnum; return xfils[dernier]; } function FnRemoveFils() { if (dernier != 0) { dernier=dernier-1; } } </msxsl:script>
could you tell the way to output the value of xfils[dernier] or xnum[dernier] ?
thanks
sébastien
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list