- From: Piez, Wendell A. (Fed) <wendell.piez@nist.gov>
- Date: Sat, 9 Dec 2023 18:20:15 +0000
- To: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@le-tex.de>
- CC: XProc Dev <xproc-dev@w3.org>
Gerrit, that is definitely something I need to know, thanks! Cheers, Wendell -----Original Message----- From: Imsieke, Gerrit, le-tex <gerrit.imsieke@le-tex.de> Sent: Friday, December 8, 2023 6:38 PM To: xproc-dev@w3.org Subject: Re: Passing context in XProc 1.0 Hi Wendell, Maybe you want static-base-uri() instead of base-uri(.). Gerrit On 08.12.2023 23:30, Piez, Wendell A. (Fed) wrote: > XProc Friends, > > In an XProc 1.0 pipeline, I have this: > > <p:with-param name="xspec-home" select="resolve-uri('../xspec/',base-uri(.))"/> > > But this is not what I want. Apparently base-uri(.) is evaluated relative to the source document being processed, or that’s what I am guessing. This works sometimes but only by happenstance. > > I actually want to have the relative path here resolved with respect to the XProc file (pipeline definition) or its directory. And relative to this one, not to another pipeline that happens to import this one. > > Any tips? Is this easily done under XProc 1.0? Should I be thinking differently? > > Thanks for your assistance. I know it might be pretty basic – > > Regards, Wendell >
Received on Saturday, 9 December 2023 18:20:26 UTC