Re: [xsl] Update source.xml

Subject: Re: [xsl] Update source.xml
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 17 Nov 2005 16:55:49 GMT
> This question will sound stupid but is it possible to update the
> source.xml file directly? (from xsl).   Sorry, but I'm new to this
> stuff...

The model for xslt is that the input is unchanging (no instructions ever
change the source tree) so in most systems you can't update the soource
from within xslt. If you could it would be equivalent to first renaming
the source to a temporary file, then writing teh new tree into the
original location. that is you can't do "in place" updates just to part
of the file.

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread