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

RE: RE:read-write same url in xslt 2 [was appendig to

Subject: RE: RE:read-write same url in xslt 2 [was appendig to multiple output files]
From: "Evan Lenz" <elenz@xxxxxxxxxxx>
Date: Mon, 28 Jan 2002 02:42:02 -0800
RE:  RE:read-write same url in xslt 2 [was appendig to
Michael Kay wrote:
> It has to be an error because the results depend on the sequence of
> execution, which isn't defined by the language spec. It only
> works in Saxon
> because Saxon (today) processes instructions in left-to-right
> order. Writing
> a document using xsl:result-document and then reading it using
> document() is
> a way of getting side-effects that depend on the sequence of execution.

I don't see why allowing an output URI to be the same as an input URI should
have to change the simple rule that source trees cannot change (or be
writable). In practice, the result of the transformation could be used to
replace the original file but only after the transformation is complete. I
don't think Bryan was suggesting that side-effects should be allowed. This
shouldn't be an error, IMHO.

Evan Lenz
XYZFind Corp.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.