let $baseUrl := 'https://raw.githubusercontent.com/LeoWoerteler/QT3TS/master/', $catalog := fontoxpath:fetch($baseUrl || 'catalog.xml'), $environmentsByName := $catalog/catalog/environment ! map:entry(@name => string(), .) => map:merge(), $testSets := $catalog/catalog/test-set/file/string()!fontoxpath:fetch($baseUrl || .) return for ($testSet in $testSets) { for ($test in $testSet/test-set/test-case) { fontoxpath:evaluate($test/test, {}) } }