RE: [xsl] Using Saxon 8.5 and collection() to process a directory of XML files

Subject: RE: [xsl] Using Saxon 8.5 and collection() to process a directory of XML files
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 4 Aug 2005 15:31:39 +0100
> I'm also interested in this. I think (could Mike confirm?) 
> that the main
> disadvantage of going this route is that all documents processed will
> (or might) hang around in memory rather than being processed 
> and dumped
> one at a time as would happen if you arrange the processing pipeline
> outside xslt.


You can call saxon:discard-document() to make a document available for
garbage collection when there are no outstanding references to it.

Michael Kay
http://www.saxonica.com/

Current Thread