ok, I see why you added the `add-xml-base[@all='true']`.

I'm confused why `base-uri(.)` wouldn't work, but it's not critical. It does resolve to the XProc's URI if used on an expression in XProc or if the context is e.g. an inline document, but here the XPath s/b evaluated within the XSLT so it should be fine...