Re: [xsl] Saxon Process is not releasing my output file

Subject: Re: [xsl] Saxon Process is not releasing my output file
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Mon, 11 Dec 2006 10:37:42 -0500
Spencer,

It's not really in scope; it has nothing to do with XSLT. But it's short, so anyway.

It means extra file-writing, but how about:

1. Copying old to another file, interim.
2. Comparing/merging new to/with interim, writing result to old.
3. Delete interim

Cheers,
Wendell

At 12:33 PM 12/10/2006, you wrote:
Hi List,

Hope this is an "in Scope" question. I'm using Saxon to run a process
in .net. The basic scenario is my xslt takes an XML called new,
compares it to an XML document called old. Then the "new" XML document
is copied over "old".

The problem is when the copy happens I get the dreaded "The process
cannot access the file 'L:\file_path\old.xml' because it is being used
by another process".


======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================

Current Thread