W3C home > Mailing lists > Public > xproc-dev@w3.org > June 2012

Re: Making a relative URI in @xml:base absolute

From: Jostein Austvik Jacobsen <josteinaj@gmail.com>
Date: Tue, 19 Jun 2012 12:29:26 +0200
Message-ID: <CAOCxfQeeAW1XhM+Lsb0hKFk9BE=4DVu+e2KpW7iG41fhp=GYow@mail.gmail.com>
To: Yves Forkl <Y.Forkl@srz.de>
Cc: XProc Dev <xproc-dev@w3.org>
2012/6/19 Yves Forkl <Y.Forkl@srz.de>

> Am 18.06.2012 21:00, schrieb Jostein Austvik Jacobsen:
> > It sounds like you're looking for the XProc extension function
> p:resolve-uri($relative, $base) [1]:
> >
> > <p:store>
> >     <p:with-option name="href" select="p:resolve-uri(/*/@xml:base,
> $root_uri)"/>
> > </p:store>
> >
> > [1] http://www.w3.org/TR/xproc/#f.resolve-uri
>
> Jostein,
>
> thank you very much, that's exactly what I needed.
>
> Funny how I missed that one, I have already been using it in another
> pipeline.
>
>  Yves
>


No problem :). Glad to help.

Jostein
Received on Tuesday, 19 June 2012 10:30:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 June 2012 10:30:23 GMT