[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] efficient traversal of combined collections in XSLT 3.0


Subject: Re: [xsl] efficient traversal of combined collections in XSLT 3.0
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Sat, 24 Nov 2012 14:04:14 +0000

> 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


Current Thread
Keywords
xml