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

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

From: Yves Forkl <Y.Forkl@srz.de>
Date: Tue, 19 Jun 2012 10:48:06 +0200
Message-ID: <4FE03CC6.7060804@srz.de>
To: Jostein Austvik Jacobsen <josteinaj@gmail.com>
CC: XProc Dev <xproc-dev@w3.org>
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
Received on Tuesday, 19 June 2012 08:48:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 June 2012 08:48:47 GMT