- From: Norman Walsh <ndw@nwalsh.com>
- Date: Wed, 02 Sep 2015 08:07:19 -0500
- To: XProc Dev <xproc-dev@w3.org>
Received on Wednesday, 2 September 2015 13:07:47 UTC
dvint <dvint@dvint.com> writes:
> Thanks still getting used to xproc. I also realized this was a place
> where everything could be specified relative to the xproc file
> location.
Yes, that's a consequence of the way relative URIs and XML base URIs
interact. It's often inconvenient, I know.
I often end up doing things like this:
<p:load xmlns:exf="http://exproc.org/standard/functions">
<p:with-option name="href" select="resolve-uri($optname, exf:cwd())"/>
</p:load>
That resolves the value of $optname against the current working
directory of the XML Calabash process.
Be seeing you,
norm
--
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 512 761 6676
www.marklogic.com
Received on Wednesday, 2 September 2015 13:07:47 UTC