RE: [xsl] Reading from and writing to the same URI (XTRE1500)

Subject: RE: [xsl] Reading from and writing to the same URI (XTRE1500)
From: "Colin Adams" <colinpauladams@xxxxxxxxxxx>
Date: Tue, 14 Nov 2006 17:47:48 +0000
From: Steven Grossman <sgrssmn@xxxxxxxxx>
I'm having trouble understanding the restriction that
one cannot read from and write to the same URI during
a single transformation.  This prohibits the common (i
would think) 'use' case where one wants to overwrite a
file with a slightly modified version of the same
file.

No it doesn't.


You simply write to a new file, and then do a delete of the old one, and a rename of the new one.

_________________________________________________________________
Windows Live Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb


Current Thread