Re: Directories in XProc

> Apparently, the path is relative to where the pipeline is, but I’d

Yes. Generally speaking, the URIs are resolved against the base URI of the element on which they occur, which is the pipeline document (in the common case).

> obviously would want to resolve paths relative to where the pipeline is called. Is there a way to do this or do I have to make this explicit in the pipeline?

The p:urify() function is able to resolve URIs against the current working directory.

                                        Be seeing you,
                                          norm

--
Norm Tovey-Walsh <ndw@nwalsh.com>
https://norm.tovey-walsh.com/

> You can pretend to be serious; you can't pretend to be witty.--Sacha
> Guitry

Received on Tuesday, 19 November 2024 11:54:12 UTC