|
Subject: [xsl] output of a JScript variable From: "Sébastien Tisserant" <stisserant@xxxxxxxxxxxxxxx> Date: Tue, 07 May 2002 11:28:52 +0200 |
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] ?
(should i use <xsl:variable> and <xsl:value-of> ?)
thanks
sébastien
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] mixed content searching, Michael Kay | Thread | [xsl] Output of a Jscript variable, Sébastien Tisserant |
| RE: [xsl] mixed content searching, Michael Kay | Date | Re: [xsl] Identifying two tags that, Joerg Heinicke |
| Month |