[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Output of a Jscript variable
Use a 'return' statement. RTFM: Microsoft XML Core Services (MSXML) 4.0 / XSLT Reference / XSLT Elements / msxsl:script Element; see the example. This help file is provided with the MSXML SDK, on the MSDN Library CD and on-line at http://msdn.microsoft.com/library/. Cheers, Stuart -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Sébastien Tisserant Sent: Wednesday, May 08, 2002 00:17 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Output of a Jscript variable 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|