It doesn't work on the full data set; 16 GB of RAM isn't enough to do this to
4 GB of data. Various wheels are in motion to get more RAM.
Have a look at saxon:discard-document()
http://saxonica.com/documentation9.4-demo/html/extensions/functions/discarddocument.html
"for $x in collection(....) return saxon:discard-document($x)"
Also, I'd separate out the process into two transforms, the first to
construct some xml containing document uris and the links, then the
2nd to check if the target exists.
--
Andrew Welch
http://andrewjwelch.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--