Created
February 18, 2014 11:56
-
-
Save emchateau/9069589 to your computer and use it in GitHub Desktop.
List all files in the directory of your query file in BaseX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(: list all files in the directory of your query file in BaseX :) | |
let $dir := file:parent(static-base-uri()) | |
for $file in file:list($dir) | |
return $dir || $file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment