[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Output of a Jscript variable

Subject: RE: Output of a Jscript variable
From: "Stuart Celarier" <stuart@xxxxxxxxxxx>
Date: Wed, 8 May 2002 10:55:02 -0700
jscript output
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.