Hello, am I right, that both XML catalogs and XIncludes get only evaluated at document import, not at XQuery execution?
If I do declare base-uri "http://example.com/restxq-framework/src/"; let $file := doc("fragments/xhtml5-page.xhtml") return $file and I have an XML Catalog entry like this: <uri id="RESTXQ-Famework" name="http://example.com/restxq-framework/src/" uri="file:///S:/projects/restxqfr/src/"/> or this: <rewriteSystem id="RESTXQ-Famework" systemIdStartString="http://example.com/restxq-framework/src/" rewritePrefix="file:///S:/projects/restxqfr/src/" /> BaseX tries to load the 'fragments/xhtml5-page.xhtml' from 'example.com/restxq-framework/src/' -- Goody Bye, Minden jót, Mit freundlichen Grüßen, Andreas Mixich