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

RE: Question: XSL & Dynamic Changes During Run-time

Subject: RE: Question: XSL & Dynamic Changes During Run-time
From: Jonathan Marsh <jmarsh@xxxxxxxxxxxxx>
Date: Wed, 25 Feb 1998 10:10:39 -0800
RE: Question: XSL & Dynamic Changes During Run-time
		>[Paul Prescod wrote:]
		
		Global functions are global variables in JavaScript.

		<title>test</title>
		<SCRIPT>
		function a(){
			return 5;
		}
		document.writeln( a() )

		function b(){
			return 10;
		}
		a = b 

		document.writeln( a() )
		</SCRIPT>

Tricky!  This kind of manipulation would certainly be a side effect.  So
even global functions should be authored as ?constants?, by which I mean
that the function, once defined, should not be changed.



Jonathan Marsh
phone   425.703.4591
 <mailto:jmarsh@xxxxxxxxxxxxx> jmarsh@xxxxxxxxxxxxx



 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.