Page 1 of 1

What are parameters for collection() function

Posted: Wed Feb 15, 2023 9:39 pm
by feickertmd
This is more XPath than XSLT. I am combining multiple files in a directory into a single output file. The function that works to pull in and process all the files is:

Code: Select all

collection('translated_files?select=*.rdf*;recurse=yes;content-type=application/xml')
My question is: Where can i find all the possible parameters that i can use with fn:collection() ? Internet searches are turnign up nothing (assuming I am searching for the right things). I just want a reference so that I can use this in future.

Re: What are parameters for collection() function

Posted: Thu Feb 16, 2023 5:13 pm
by Martin Honnen
This depends on the used XSLT/XPath/XQuery processor, for Saxon 11 see the documentation at https://www.saxonica.com/html/documenta ... ories.html

Re: What are parameters for collection() function

Posted: Thu Feb 16, 2023 5:18 pm
by tavy
In the content completion documentation window there are links to the W3C specification and Salonica documentation:
https://www.w3.org/TR/2010/REC-xpath-fu ... collection
https://www.saxonica.com/html/documenta ... ction.html