btw, `href="{.}"` should actually be: `href="relativize-uri(resolve-uri(.,base-uri(.)),$base)`, no ?