Re: simplest way to get the URI of the current pipeline into a variable?

  Hi,

  Wouldn't it be better (and simpler) to use static-base-uri()
instead? (if your processor is XPath 2.0-aware)

  Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/


On 7 December 2014 at 01:57, Liam R E Quin wrote:
> I noticed that I can use p:in-scope-names to generate a document whose base URi is that of the containing pipeline, so is the easiest way,
>
> <p:in-scope-names name="in-scope-names" />
> <p:variable name="pipeline-uri" select="base-uri(/)">
>   <p:pipe step="in-scope-names" port="result" />
> </p:variable>
>
> ?
>
> --
> Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
> Pictures from old books: http://fromoldbooks.org/
>

Received on Monday, 8 December 2014 11:57:34 UTC