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

side effects and XSL was: RE: Part A - Generic parse.allXML

Subject: side effects and XSL was: RE: Part A - Generic parse.allXML function
From: "Jonathan Borden" <jborden@xxxxxxxxxxxx>
Date: Mon, 10 May 1999 13:58:57 -0400
side effects of uri
Duane Nickull
>
> With <xsl:script> being an MS proprietary tag not in the draft, we are
> trying to ascertain whether or not <xsl:functions> can perform the same
> tasks.  At the onset, it appears that the two are equal however, MSXSL
> only supports <xsl:script> to my knowledge.

	The two tags are similar but not equal. I believe that <xsl:script> as
implemented by IE5 allows global variables to be defined and manipulated
from within script blocks and the <xsl:eval> tag.

	xsl:functions appear to allow definition of functions via script languages
but not global variables per se, though implementation specifics need to be
seen (i.e. if you allow var x = new ActiveXObject(progid) you can override
any intended action).

	the other issue regarding side effects and XSL related to the doc()
function. It is possible to create side effects via URI's and HTTP e.g.

	doc("http://xxx/GetX.asp?var=val") and doc("http://xxx/SetX.asp?var=val");

	or

	doc("javascript:var x = 'global';");


	where the action of binding a URI generates side effects. Unless such
behavior is specified, implementors will need to make arbitrary decisions.

Jonathan Borden
http://jabr.ne.mediaone.net


 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.