Making a relative URI in @xml:base absolute

I am currently looking for the right (or best) way in XProc to do the following:

Read a relative URI from @xml:base and make it absolute with respect to a given URI which is available in variable $root_uri.
The absolute URI obtained will then be used as value of the href option of p:store.

How can I tell the XProc processor to use the value of $root_uri instead of the base URI of the pipeline file itself when it is calculating the absolute URI from the relative URI held in @xml:base?

Yves

Received on Monday, 18 June 2012 15:16:28 UTC